Security policy solutions for creating Oracle access rules

Source: Internet
Author: User

The following articles mainly describe how to specify the tags and related comparison rules when creating relevant security policies for Oracle access rules and Oracle access privileges. DB2LABCRULES is the only comparison rule. It can be divided into read rules and write rules.

Read rules:

 
 
  1. DB2LBACREADARRAY 

The array Components Marked by user security must be greater than or equal to the array Components Marked by Object Security;

 
 
  1. DB2LBACREADSET: 

The collection component of the user security tag must contain the collection component of the object security tag;

 
 
  1. DB2LBACREADTREE: 

The tree component of the user label must contain at least one tree component element (or the ancestor of these elements) marked by the object security ).

Write rules:

 
 
  1. DB2LBACWRITEARRAY: 

The array Components Marked by user security must be equal to the array Components Marked by Object Security;

 
 
  1. DB2LBACWRITESET: 

Same-read rules;

 
 
  1. DB2LBACWRITETREE 

: Same read Rule. You can see through DB2LBACREADARRAY and DB2LBACWRITEARRAY that the read and write rules are actually "same-level write, downward read ".

Oracle access privileges

Grant user privileges:

 
 
  1. GRANT EXEMPTION ON RULE DB2LBACREADSET FOR DataAccess TO USER JOE 

The meaning of the privilege here is to exempt the specified rule, that is, the user does not need to follow the specified rule when accessing data.

The types of privileges are as follows:

 
 
  1. DB2LBACREADARRAY   
  2. DB2LBACREADSET   
  3. DB2LBACREADTREE   
  4. DB2LBACWRITEARRAY WRITEDOWN   
  5. DB2LBACWRITEARRAY WRITEUP   
  6. DB2LBACWRITESET   
  7. DB2LBACWRITETREE   
  8. ALL   

The above content is an introduction to Oracle access rules and Oracle access privileges. I hope you will gain some benefits.

Article by: http://www.programbbs.com/doc/class10-1.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.