Database Security Products (MOSC)

MOSC Banner

Oracle Data Redaction 12c

edited Sep 25, 2016 5:00AM in Database Security Products (MOSC) 12 commentsAnswered

Hi Folks,

I have a little issue here with Oracle data redaction. We have implemented data redaction on one of the columns masking zip_code:

BEGINDBMS_REDACT.ADD_POLICY (   object_schema          => 'APEX_ZION',   object_name            => 'DEMO_CUSTOMERS',   policy_name            => 'REDACT_CUST_POSTAL_CODE',   column_name            => 'CUST_POSTAL_CODE',   function_type          => DBMS_REDACT.RANDOM,   expression             => 'SYS_CONTEXT ( ''USERENV'',''SESSION_USER'' ) !=''APEX_ZION''',   enable                 => TRUE   );END;/

Our application is basic apex application, which is displaying content of DEMO_CUSTOMERS table. We use database authentication and not APEX authentication method.

Data redaction works as expected when connected using SQL Developer.

What we expect is, when we login to a database as "apex_zion" we should see real data and when we login using other user account the data should be redacted.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center