Site icon Database Tutorials

What is Oracle Data Redaction

What is Oracle Data Redaction?

Oracle Data Redaction is a technology that allows you to mask (redact) data on the database. In this way, you can mask the data in your tables as you wish and prevent data breaches.

Oracle Data Redaction does not physically mask data like Transparent Database Encryption. Encryption is done according to the rules prepared based on the “DBMS_REDACT” package, and on a user specific basis. In other words, your data is stored on Buffer Cache as raw as before. When a data is requested, the DMBS_REDACT package transmits the data in the methods you specify.

Why we should use Oracle Data Redaction?

Your app users don’t always need to see your sensitive data. For example, you may want the personal information on a customer card not be visible.

The information may need to be changed partially or completely. You can use Oracle Data Redaction features in these processes.

Oracle Data Redaction Methods

There are 4 different methods to perform Data Redaction as you see below.

Full Redaction

All data in the affected column is affected. The default value of Full Redaction is 0. If the data type in the column is NUMBER, it is replaced with 0, if the data type is character, it is replaced with a space.

Partial Redaction

You can edit a certain part of the existing data in the affected column. For example, 8 digits from the beginning or end of a 16-digit card number can be changed with “*”.

Regular Expression based Data Redaction

Available for character data types only. With Regular Expressions, you can optionally edit e-mail names with different characters.

Random Redaction

Regardless of the data type of the data in the column, it is the method in which data is randomly displayed every time it is called. When data is called with this method, Data Redaction changes the data to Random, so the data always looks unique.

There are some important details in the usage of the most used Random Redaction.

Differences between Oracle Data Redaction and Oracle Virtual Pricate Database

How does Oracle Data Redaction affect SYS and SYSTEM or default schemas?

Limitations

You may want to read below article to implement in Oracle 19c.

Oracle Data Redaction 19c Example

Exit mobile version