Env
Virtualbox + Oracle Linux 64bit 6.4 + Oracle database 12.1Introduction
A new security feature is intorudced in 12c, one of top-10 favourite new features of Tom Kyte. It's also known as data masking. Data redaction hides sensitive data from low-privileged users. For example, your credit card number, date of birth should be masked in a CRM application.Data redaction takes places on the fly, it does not change the data in the database.Data redaction does not apply to users with "EXEMPT REDACTION POLICY". SYSDBA and DBA are not affected by data redaction.
Adding a new redaction policy:
begin
dbms_redact.add_policy(object_schema =< 'HR',
object_name =< 'EMPLOYEES',
column_name =< 'SALARY',
policy_name =< 'SALARY_REDACTION',