Skip Headers
Oracle® Label Security Administrator's Guide
10g Release 2 (10.2)

Part Number B14267-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

D Oracle Label Security in an RAC Environment

This appendix discusses using Oracle Label Security in a Real Application Clusters (RAC) environment. It includes the following sections:

D.1 Using Oracle Label Security Policy Functions in an RAC Environment

Policy changes made on one instance are available to other instances in the RAC immediately. It is not necessary to restart the other instances to pick up the changes.

Important changes made on one database instance are automatically propagated to the other instances. One example would be creating a new policy. Another would be altering the policy options.

Propagating such changes ensures two valuable protections:

If an administrator changes policy information in one instance by using the policy functions listed in Table D-1, Oracle Label Security stores the relevant information about whatever that function call changed. The new information is immediately available to the other active instances in the RAC, enabling uniformity among users of the affected policies.

Table D-1 Policy Functions Preserving Status in an RAC Environment

Policy Functions Comments

sa_sysdba.create_policy()

Creates a new policy

sa_sysdba.drop_policy()

Drops an existing policy

sa_sysdba.enable_policy()

Enables an existing policy

sa_sysdba.disable_policy()

Disables an existing policy

sa_sysdba.alter_policy()

Alters an existing policy


D.2 Using Transparent Application Failover in Oracle Label Security

Session information is preserved on Transparent Application Failover. Any changes to the session's information by way of session functions listed in Table D-2 are preserved on Transparent Application Failover.

For example, suppose a user Scott is logged on with default label Top Secret. If he calls sa_session.set_label() to change his session label to Secret, and a failover to another instance occurs, he will see no change but his session label remains Secret.

Preserving current user session information means that the access permissions and restrictions on what data that user can see or affect remain as they were. Despite the failover, the user can see and affect only the tables and rows accessible before the failover. If preservation were not the case, failing over to another instance could cause or enable the user to see a different set of data.

Whenever one of the session functions listed in Table D-2 is used, Oracle Label Security stores the relevant information about whatever was changed by that function call.

Table D-2 Session Functions Preserving Status in an RAC Environment

Session Functions Comments

sa_session.set_label()

Lets the user set a new level and new compartments and groups to which he or she has read access

sa_session.set_row_label()

Lets the user set the default row label that will be applied to new rows

sa_session.save_default_labels()

Lets the user store the current session label and row label as the default for future sessions

sa_session.restore_default_labels()

Lets the user reset the current session label and row label to the stored default settings

sa_session.set_access_profile()

Sets the Oracle Label Security authorizations and privileges of the database session to those of the specified user