

Oracle Database provides data dictionary views that list information about Data Redaction policies.Ī Data Redaction policy has the following characteristics:

Tutorial: SQL Expressions to Build Reports with Redacted Values.The DBMS_REDACT.DROP_POLICY procedure drops Oracle Data Redaction policies. Dropping an Oracle Data Redaction Policy.You can disable and then reenable Oracle Data Redactions policies as necessary. Disabling and Enabling an Oracle Data Redaction Policy.You can redact more than one column in a Data Redaction policy. The DBMS_REDACT.ALTER_POLICY procedure enables you to modify Oracle Data Redaction policies. Altering an Oracle Data Redaction Policy.You can exempt users from having Oracle Data Redaction policies applied to the data they access. Exemption of Users from Oracle Data Redaction Policies.You can create policies that use no redaction at all, for when you want to test the policy in a development environment. Creating a Policy That Uses No Redaction.Creating a Regular Expression-Based Redaction PolicyĪ regular expression-based redaction policy enables you to redact data based on a search-and-replace model.Ī random redaction policy presents redacted data as randomly generated values, such as Ukjsl32]]s.In partial data redaction, you can redact portions of data, and for different kinds of data types. You can create Oracle Data Redaction policies that return null values for the displayed value of the table or view column. Creating a DBMS_REDACT.NULLIFY Redaction Policy.
#Oracle data redaction example full#
You can create a full redaction policy to redact all contents in a data column, and optionally, you can alter the default full redaction value.

Using Expressions to Define Conditions for Data Redaction Policies.To create a Data Redaction policy, you must use the DBMS_REDACT.ADD_POLICY procedure. General Syntax of the DBMS_REDACT.ADD_POLICY Procedure.Planning an Oracle Data Redaction Policyīefore you create a Oracle Data Redaction policy, you should plan the data redaction policy that best suits your site’s needs.Who Can Create Oracle Data Redaction Policies?īecause data redaction involves the protection of highly sensitive data, only trusted users should create Oracle Data Redaction policies.

An Oracle Data Redaction policy defines the conditions in which redaction must occur for a table or view.
