Back to the Oracle Label Security home page

Oracle Label Security

OLS user clearances as Factors in Oracle Database Vault:

Start Oracle Database Vault and log in as LBACSYS (the owner of the OLS schema) to create a Label Security policy that stores the user clearance labels. These will later be used as Factors in Oracle Database Vault:

    $ sqlplus LBACSYS/password
    SQL> execute sa_sysdba.create_policy('PRIVACY','PRIVACY_COLUMN','NO_CONTROL');

The following commands create the two levels used in the OLS policy:

    SQL> execute sa_components.create_level('PRIVACY',1000,'C','CONFIDENTIAL');
    SQL> execute sa_components.create_level('PRIVACY',2000,'S','SENSITIVE');

The next command creates the 'PII' compartment:

    SQL> execute sa_components.create_compartment('PRIVACY',100,'PII','PERS_INFO');

The user JSmith is granted the less sensitive label:

    SQL> execute sa_user_admin.set_user_labels('PRIVACY','JSmith','C');

The user MDale is granted the more sensitive label, which also includes the PII compartment:

    SQL> execute sa_user_admin.set_user_labels('PRIVACY','MDale','S:PII');

In order to use the OLS labels as factors in Database Vault, you need to create a 'Rule Set' first:

    SQL> connect dbv_owner/password;
    SQL> execute dvsys.dbms_macadm.create_rule_set('PII Rule Set',
'Protect PII data from privileged users','Y',1,0,2,NULL,NULL,0,NULL);

Rule Sets contain one or more Rule; this Rule contains the syntax to evaluate the OLS labels:

    SQL> execute dvsys.dbms_macadm.create_rule('Check OLS Factor',
'dominates(sa_utl.numeric_label(''PRIVACY''),
char_to_label(''PRIVACY'',''S:PII'')) = ''1'''); SQL> execute dvsys.dbms_macadm.sync_rules; SQL> commit;

Add the Rule to the Rule Set:

    SQL> execute dvsys.dbms_macadm.add_rule_to_rule_set('PII Rule Set',
'Check OLS Factor'); SQL> commit;

Technical Information

Datasheet (11gR2)
Overview Whitepaper (11gR2)
Oracle Label Security in Government and Defense Environments
Technical White Paper
Best practices
Frequently Asked Questions
Oracle Label Security with Oracle E-Business Suite: Best Practices

Hands-On

Using OLS user authorizations to create powerful Command Rules in Oracle Database Vault
OLS user authorizations in VPD policies: Determine access to application table columns based on user authorizations
Six steps towards a successful multi level security implementation
Integrating OLS with Identity Management
Oracle Magazine: Now Securing Every Row
 
Learn More
· Oracle by Example: Database Security

Security Options
· Oracle Database Vault
· Oracle Advanced Security
· Oracle Label Security
· Oracle Secure Backup

Security Features
· Data Encryption
· Virtual Private Database
· Database Auditing
· Backup Encryption
· Proxy Authentication
· Enterprise User Security
· Secure Application Roles
· Fine Grained Auditing

Related Technologies
· Audit Vault
· Secure Backup
· Configuration Management
· Information Rights Management
· Identity Management

Discussion Forums
· Audit Vault
· Security
· Database
E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy