Protecting the SAP Database User
Procedure
Take the following precautions to protect SAPR3 / SAP<SAPSID> and prevent unauthorized access to the database:
-
The password for SAPR3 / SAP<SAPSID> is stored in the SAPUSER table. Therefore, protect access to this table by regularly changing the password for <sapsid>adm.
-
To prevent someone from working around the OPS$ mechanism by using an .rhosts file, deactivate the UNIX service rlogin in the inetd.conf file.
-
With the Oracle network protocol SQL*Net, you can also use the file sqlnet.ora to restrict access to the database using IP addresses. In this file, you specify invited and excluded IP addresses.
In this way, you can make sure that only specific hosts (for example, only the application server host) are capable of accessing the database.