Back to the Oracle Label Security home page

Oracle Label Security - Frequently Asked Questions

Questions

  1. What is Oracle Label Security?
  2. Who should consider Oracle Label Security?
  3. What can Oracle Label Security do for my security needs?
  4. Should I use Oracle Label Security to protect all my tables?
  5. What is the difference between Oracle Virtual Private Database (VPD) and Oracle Label Security?
  6. Can I combine Virtual Private Database and Oracle Label Security?
  7. Can I use Oracle Label Security with the Oracle E-Business Suite?
  8. How do Label Security and Database Vault complement each other?
  9. Does Oracle Label Security provide column-level access control?
  10. Can I base Secure Application Roles on Oracle Label Security?
  11. What are Trusted Stored Program Units?
  12. Does VPD or OLS add an additional column to the protected table?
  13. Why can the additional OLS row label column be hidden?
  14. Are there any administrative tools available for Oracle Label Security?
  15. Are there any guidelines for using Oracle Label Security and defining sensitivity labels?
  16. Where can I find Oracle Label Security?
  17. How do I install and start Oracle Policy Manager?

Answers

  1. What is Oracle Label Security?
  2. Oracle Label Security is a security option for the Oracle Enterprise Edition database and was introduced with Oracle 8.1.7. Oracle Label Security mediates access to data rows by comparing a rowlabel or sensitivity label and a set of user label authorizations.


  3. Who should consider Oracle Label Security?
  4. Sensitivity labels are used in some form in virtually every industry. These industries include health care, law enforcement, energy, retail, national security and defense industries. Examples of sensitivity labels include:

    • Internal
    • Confidential
    • Physician Only
    • Highly Sensitive
    • Widget Corporation
    • Confidential : Chicago Operation
    • Sensitive : Finance : Europe
    • Top Secret
    • Unclassified

    Application providers can integrate Oracle Label Security functionality to enhance their product offering and gain competitive advantage.


  5. What can Oracle Label Security do for my security needs?
  6. Oracle Label Security can be used to label data and restrict access with a high degree of granularity. This is useful when multiple organizations or companies share a single application. Sensitivity labels can be used to restrict application users to an organization or subset of data within an organization. Data privacy is important to consumers and regulatory measures continue to be announced. Oracle Label Security can be used to implement privacy policies on data, restricting access to only those who have a need-to-know.


  7. Should I use Oracle Label Security to protect all my tables?
  8. Definitely not. The traditional Oracle discretionary access control (DAC) object privileges SELECT, INSERT, UPDATE, and DELETE combined with database roles and stored procedures are sufficient in most cases. Furthermore, before applying OLS to your sensitive tables, some considerations need to be taken into account; they are documented here.


  9. What is the difference between Oracle Virtual Private Database (VPD) and Oracle Label Security?
  10. Oracle VPD is provided at no cost with the Oracle Enterprise Edition. Oracle Label Security is an add-on security option for the Oracle Enterprise Edition. Oracle VPD is a term used for several powerful security features - fine grained access control (FGAC), application context and global application context. VPD policies are written using PL/SQL, and can be assigned to an individual table or view. Information requests which reference tables and views protected by VPD are modified according to the policy assigned to this table or view. VPD policies can be as simple as enforcing access during business hours. VPD policies can restrict access by comparing the value of an attribute in an individual row with an application context value. Global application context allows an application context to be accessed across multiple database sessions, reducing or eliminating the need to create a separate application context for each user session.

    Oracle Label Security is an out-of-the-box solution for row level security. No coding or software development is required, allowing the administrator to focus completely on the policy. Oracle Label Security provides an interface for creating policies, specifying enforcement options, defining data sensitivity labels, establishing user label authorizations, and protecting individual tables or schemes. Data sensitivity labels provide a powerful and flexible method of restricting access to data. For example, data belonging to different organizations or companies can be separated using data sensitivity labels and selectively shared between companies by changing the data sensitivity label.

    Depending on the complexity of the security policy, Oracle Virtual Private Database may be the preferred method for implementing your security policy. In addition, Oracle Label Security is best suited for situations where access control decisions need to be based on the sensitivity of the information.


  11. Can I combine Virtual Private Database and Oracle Label Security?
  12. Yes, there are two 'intersections':

    1. A 'where' clause can be appended to an OLS policy, which provides one more level of granularity. An example would be that users, regardless of their label authorizations, are only allowed to connect from a specific IP address or subnet, and/or during business hours only. (Screen shot)
    2. A VPD policy (column sensitive or not) can evaluate user labels and determine access to columns and rows without the need to apply data labels. (Example)


  13. Can I use Oracle Label Security with the Oracle E-Business Suite?
  14. Oracle Applications are using Oracle VPD to provide new functionality and security protections.

    A best practices document has been published on the Oracle Technology Web site.

    Steven Chan's blog is a good source of security-related questions regarding Oracle's E-Business Suite.


  15. How do Label Security and Database Vault complement each other?
  16. Tables in Database Vault, protected with OLS policies, behave the same as if they were stored and accessed in a 'normal' database, since Database Vault does not provide access controls down to the row level.

    OLS labels can be assigned to Database Vault 'Factors'; these labels are then merged with the user clearance labels, following the algorithms documented in chapter 4.4.5 of the OLS admin guide: "Merging Labels with the MERGE_LABEL Function", before access control decisions are being made by comparing the merged user labels with the row labels. (Example)


  17. Does Oracle Label Security provide column-level access control?
  18. No, Oracle Label Security is not column-aware.

    But this behavior is available with Virtual Private Database: A VPD policy can be written so that it only becomes active when a certain column (the 'sensitive' column) is part of a SQL statement against a protected table. With 'column sensitivity' switch on, VPD either returns only those rows that include information in the sensitive column the user is allowed to see, or it returns all rows, with all cells in the sensitive column being empty, except those values the user is allowed to see. This page contains sample screen shots for the various configurations of VPD.

    A column-sensitive VPD policy can determine access to a specific column by evaluating OLS user labels. This functionality is demonstrated here.


  19. Can I base Secure Application Roles on Oracle Label Security?
  20. Yes, the procedure, which determines if the 'set role' command is executed, can evaluate OLS user labels. In this case, the OLS policy does not need to be applied to a table, since row labels are not part of this solution. (Example).


  21. What are Trusted Stored Program Units?
  22. Stored procedures, functions and packages execute with the system and object privileges (DAC) of the definer. If the invoker is a user with OLS user clearances (labels), the procedure executes with a combination of the definer's DAC privileges and the invoker's security clearances.

    Trusted stored procedures are procedures that are either granted the OLS privilege 'FULL' or 'READ'. When a trusted stored program unit is carried out, the policy privileges in force are a union of the invoking user's privileges and the program unit's privileges.


  23. Does VPD or OLS add an additional column to the protected table?
  24. In the moment an OLS policy is applied to a table, it adds an additional column to it. The name of this column needs to be specified when the policy is initially created.

    An existing column can be used to store the OLS row labels; it needs to be defined as 'number(10)'.

    VPD does not add an additional column to the protected table.


  25. Why can the additional OLS row label column be hidden?
  26. Most applications were not designed with access control mechanisms in mind, so OLS needs to do this transparently.

    When an application queries a table with a 'select * from <tablename>', it returns all columns, incl. the not-hidden label column. Existing applications may not be designed to display an additional column, and malfunction. But a hidden column is displayed only when it's name is included in the SQL statement, hence a 'select * from <tablename>' would return all columns as expected by the application, excluding the hidden OLS column.


  27. Are there any administrative tools available for Oracle Label Security?
  28. Yes, Oracle Policy Manager can be used for managing Oracle Label Security policies as well as user defined VPD policies. Using Oracle Policy Manager, administrator's can create policies, define label components, create labels, establish user authorizations, customize enforcement options, apply policies to schemes and tables, drop policies from schemes and tables, disable policies, define an application context, and create VPD policy groups. Oracle Policy Manager is the administration tool for managing policies that protect information at the row level.

    This 8-minute tutorial shows you how easy it is to create, apply and test a Label Security policy with Oracle Policy Manager.


  29. Are there any guidelines for using Oracle Label Security and defining sensitivity labels?
  30. Yes, a comprehensive Label Security Administrator's Guide is available online from tahiti.oracle.com. In addition, a comprehensive collection of examples is available on the Oracle Technology Network, which walk you through a list of recommended implementation guidelines. In most cases, the security mechanisms provided at no-cost with the Oracle Enterprise Edition (system and object privileges, Database roles, Secure Application Roles) will be sufficient to address security requirements. Oracle Label Security should be considered when security is required at the individual row level.


  31. Where can I find Oracle Label Security?
  32. Oracle Label Security ships on the Oracle Enterprise Edition CD. Oracle Label Security is not installed as part of the typical/default Oracle installation. Choose the "Custom Installation" option and check the box beside Oracle Label Security.


  33. How do I install and start Oracle Policy Manager?
  34. Oracle Policy Manager is installed from the Oracle Database 10g Client CD. Start the Oracle Universal Installer with

      ./runInstaller

    and select 'Custom Install' when presented with this choice. Scroll down and check 'Enterprise Manager 10g Java Console' to install OPM. To start Oracle Policy Manager in Linux, log into your OS as the Oracle software owner, and type:

      oemapp opm

    Log in as LBACSYS.



Technical Information

Datasheet
Technical White Paper
Best practices
Performance Considerations: Designing applications for Oracle Label Security
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 on user authorizations
Oracle by Example: Installing OLS
Oracle by Example: Using OLS
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

Previous Releases
· Oracle10g R2 Security
· Oracle9iR2 Security
· Oracle9i Security

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