| Oracle Rdb Installation and Configuration Guide Release 7.1 for OpenVMS Alpha Part Number A90407-01 |
|
This appendix discusses the use of OpenVMS security features by Oracle Rdb.
Oracle Rdb must be installed from a privileged account. Usually, the SYSTEM account is used. The VMSINSTAL procedure is located in SYS$UPDATE, which is a restricted directory. The OpenVMS SETPRV privilege is required to run VMSINSTAL. The VMSINSTAL procedure then grants all privileges other than BYPASS. (The VMSINSTAL procedure also turns off BYPASS at the start of the installation.)
An Oracle Rdb database is protected by a combination of Oracle Rdb, Oracle RMU, and OpenVMS privileges. OpenVMS privileges are not necessary to use data manipulation or data definition statements. Oracle RMU privileges are used to control access to most database maintenance operations (for more information on RMU privileges, see the Oracle Rdb Release Notes and the Oracle Rdb7 Oracle RMU Reference Manual). However, some database maintenance operations still require OpenVMS privileges. Table A-1 lists the maintenance operations and indicates the required OpenVMS privilege.
| Oracle RMU Function | OpenVMS Privilege |
|---|---|
|
Start database monitorFoot 1 |
SETPRV |
|
Reopen database monitor log |
WORLD |
|
Stop database monitor |
WORLD |
|
Show locks on databases |
WORLD |
|
Show databases in use |
WORLD |
Oracle RMU functions require OpenVMS privileges when the function:
Certain OpenVMS privileges can override Oracle Rdb protection. Therefore, you must be very careful assigning OpenVMS privileges. The distinction between Oracle Rdb and OpenVMS privileges is that OpenVMS privileges are systemwide, while Oracle Rdb privileges are associated with a particular database or database object. Table A-2 indicates which Oracle Rdb privileges can be bypassed by users possessing certain OpenVMS privileges.
The Oracle Rdb7 Guide to Database Design and Definition includes a table indicating which actions can be performed with which OpenVMS and Oracle Rdb privileges.
Oracle Rdb sets the following OpenVMS default protection for all database files:
SYSTEM:READ,WRITE,EXECUTE,DELETE; OWNER:READ; GROUP: , WORLD:
This affects the following files:
These restrictions protect the database from applications or processes not using Oracle Rdb. Oracle Rdb uses the OpenVMS SYSPRV privilege to open database files, then checks that user's user identification code (UIC) against the Oracle Rdb access privilege set to determine access to database objects. Section A.5 discusses protection specific to Oracle Rdb.
Internal Oracle Rdb protection depends on the use of access privilege sets (APSs) that connect database subjects (users) and objects with certain privileges. Oracle Rdb uses the standard OpenVMS identifiers to identify database subjects.
The UIC of the process owner is used by Oracle Rdb to identify the individual who is accessing the database. No separate user identifiers are supported by Oracle Rdb, and no separate authentication of users is performed.
Database administrators can choose between ACL-style and ANSI/ISO-style protection when using the SQL interface to Oracle Rdb.
In ACL-style protection, three types of OpenVMS identifiers can be used:
The following are all valid UICs:
[SYSTEMS,JONES] K_JONES [354,567] [250,*]
For example:
DATAENTRY PROGRAMMERS MANAGERS SECRETARIES
For example:
BATCH NETWORK INTERACTIVE LOCAL DIALUP REMOTE
Each identifier is associated with a set of access privileges to specify which operations that user or user group can perform on the database or database table, view, or column.
In ANSI/ISO-style protection, only a specific UIC can be used. Wildcards are permitted only to specify public access, as in [*,*].
Database objects (database, table, view, or column) are associated with an APS that indicates which operations certain users can perform on that object. The owner or creator of a database owns the database files and has the ability to grant or revoke privileges for that database's subjects and objects.
For more information on other aspects of Oracle Rdb security, see the Oracle Rdb7 Guide to Database Design and Definition.
Oracle Rdb employs a security auditing system that closely models that of the OpenVMS system.
A database is maintained that describes the Oracle Rdb audit events that are enabled. Such events are enabled on a per database basis so that each database can be audited differently. Oracle RMU includes RMU Set Audit and RMU Show Audit commands to modify and display the event auditing characteristics. As with the OpenVMS system, Oracle Rdb has its own audit analysis command (RMU Load command with the Audit qualifier) to assist in reviewing the audit trail.
To accomplish security auditing, Oracle Rdb communicates with the OpenVMS AUDIT_SERVER process, which stores security audit records in the security audit journal and relays security alarm messages to the appropriate display process. Thus, Oracle Rdb audit information can coexist with OpenVMS audit information so that all system audit records can be retrieved from one location by the OpenVMS security administrator using a single OpenVMS audit analysis tool.
For more information on Oracle Rdb auditing capabilities, see the Oracle Rdb7 Guide to Database Maintenance. For more information on OpenVMS auditing capabilities, see the OpenVMS documentation set.
|
|
![]() Copyright © 2001 Oracle Corporation. All Rights Reserved. |
|