|
Oracle Home |
|
Home > Oracle Database Administration (DBA) > 10g DB - New Features > Virtual Private Database (10g) |
|
Oracle Database 10g Administration (DBA): New Features |
|---|
Virtual Private Database (10g) |
|
1. What is the Virtual Private Database Feature ?
When
a user directly or indirectly accesses a table, view, or synonym that is
protected with a VPD policy, the server dynamically modifies the user's
SQL statement. The modification is based on a
SELECT * FROM book WHERE RULE_1; The RULE_1 must be defined and can be context-sensitive.
The
statement is modified dynamically, transparently to the user, using any
condition which can be expressed in, or returned by a function. VPD
policies can be applied to
2. What is a Column-level VPD ?
Column-level
VPD enables you to enforce row-level security when a security-relevant
column is referenced in a query. You can apply column-level VPD to
tables and views, but not to synonyms. By specifying the
security-relevant column name with the
3. Implementing a Column-level VPD
dbms_rls.add_policy (object_schema => 'SCOTT',object_name => 'EMP',policy_name => 'VPD_TEST_POLICY',function_schema => 'SCOTT',policy_function => 'TEST_VPD',statement_types => 'select, insert, update, delete',sec_relevant_cols => 'sal,comm');end;
Test the rule: If there are any errors during the SELECT, INSERT, UPDATE, DELETE statement please check the last udump file.
4. What is the Column-level VPD with Column Masking Behavior ?
If
a query references a security-relevant column, then the default behavior
of column-level VPD restricts the number of rows returned. With column
masking behavior, which can be enabled by using the
More information about this subject ( Virtual Private Database ) you can get from www.in-oracle.com
What Is Oracle Virtual Private Database?
More information on this subject you can get from here.
|
|
Home > Oracle Database Administration (DBA) > 10g DB - New Features > Virtual Private Database (10g) |
|
Different Romanian Links/ Linkuri romanesti diferite |
Disclaimer: The views expressed on this web site are my own and do not reflect the views of Oracle Corporation. You may use the information from this site only at your risk. Copyright (c) 2009-2011 Paul Catalin Tomoiu. All rights reserved.