Data Redaction
Data Redaction
Redaction
Oracle Data Redaction enables you to mask (redact) data that is returned
from queries issued by applications.
Unauthorized users see the same data differently and Redacted, therefore
Oracle Data Redaction is a very powerful feature. Because companies have a
lot of problems due to security weaknesses nowadays.
Methods:
Full redaction:
You redact all of the contents of the column data. The redacted
value returned to the querying application user depends on the data
type of the column. For example, columns of the NUMBER data type
are redacted with a zero (0), and character data types are redacted
with a single space.
Partial redaction:
You redact a portion of the column data. For example, you can
redact a Social Security number with asterisks (*), except for the last
4 digits.
Regular expressions:
You can use regular expressions to look for patterns of data to
redact. For example, you can use regular expressions to redact email
addresses, which can have varying character lengths. It is designed for
use with character data only.
Random redaction:
The redacted data presented to the querying application user
appears as randomly generated values each time it is displayed,
depending on the data type of the column.
When redaction is applies
• Oracle Database applies the redaction at runtime, when users access the data (that is,
at query-execution time).
• Eg: This solution works well in a production system. During the time that the data is
being redacted,
1. All of the data processing is performed normally.
2. And the back-end referential integrity constraints are preserved.
• Data redaction can help you to comply with industry regulations such as
1. Payment Card Industry Data Security Standard (PCI DSS)
2. Sarbanes-Oxley Act.
When to Use Oracle Data Redaction
• Use Oracle Data Redaction when you must disguise sensitive data that your
• applications and application users must access.
• Data Redaction enables you to easily disguise the data using several different redaction styles.
• Oracle Data Redaction is ideal for situations in which you must redact specific characters
• out of the result set of queries of Personally Identifiable Information (PII) returned to certain
• application users.For example, you may want to present a U.S. Social Security number
• that ends with the numbers 4320 as ***-**-4320.
• Oracle Data Redaction is particularly suited for call center applications and other applications
• that are read-only. Take care when using Oracle Data Redaction with applications that perform
• updates back to the database, because redacted data can be written back to this database.
Benefits of Using Oracle Data Redaction
• like data redaction in predefined query hiding the employee salary salary
from the employ table for user who have not complete acess.
• Here’s an example of how it works for
credit card numbers.
Data masking and susetting
using oracle data redaction with adhoc queries
Oracle 12 c
• Oracle 10g gave us to ability to perform column masking to prevent sensitive data from
being displayed by applications. In Oracle 12c, he data redaction feature uses
the DBMS_REDACT package to define redaction policies that give a greater level of
control and protection over sensitive data..
Cont....
Data Encryption means encrypting data in motion and data at rest. Simply data flowing
over the wire is unencrypted and can be viewed via sniffers it is also vulnerable to man in
middle attacks.
• 2nd if database files are lost , one can using tools or string command to view binary data
and in turn access sensitive tables and columns containing Personal information, credit
cards numbers etc.
Cont....
Traditional approaches to redacting sensitive data typically relied on application coding or
installing third-party software on the database server to modify its behavior. These
alternatives have important drawbacks compared to Data Redaction.
Data Redaction Policies:
Characteristics of Data Redaction Policies:
Continued....
DBMS_REDACT Procedures:
Procedure Description
DBMS_REDACT.UPDATE_FULL_REDACTION_VAL Globally updates the full redaction value for a given data
UES type.
• This policy specify Full Redaction is used for all the SALARY column
values that are returned to all users other than HR-VP.
Explanation
• Data Redaction can be deployed for existing applications quickly using either a
command line API or Oracle Enterprise Manager.