Protect Your Data With Oracle Data Redaction in Oracle Database 23ai
Protect Your Data With Oracle Data Redaction in Oracle Database 23ai
Richard Evans
In today's data-driven world, businesses often have a wide array of applications—from online
transactional processing (OLTP) systems and data warehouses to analytics and AI models—all of
which may access the same underlying data. Protecting data privacy and security in these diverse
environments can be challenging, especially when sensitive information needs to be selectively
redacted depending on who's accessing it - the application in use, an analytics tool, or an ad-hoc
query.
This is where Data Redaction shines. It allows you to redact (hide without changing the actual data)
column results through centrally managed security policies that govern how shared sensitive data is
used by different applications, analytic tools, or ad-hoc query tools. Let's explore the benefits of Data
Redaction.
Key Benefits:
1. Ease of Use: Data Redaction is easy to implement, usually requiring no application changes.
Once you create Data Redaction policies, they apply seamlessly to any query, providing
consistent security for all data consumers.
2. Application Independence: There is no need to create individual security policies for each
application. Data Redaction policies are centrally managed and enforced directly within the
database, simplifying security management across diverse environments.
3. Data Layer Application: Since redaction happens at the data layer, it covers every
application, tool, report, and model using the data. Redaction policies automatically apply as
new data is inserted into a protected column, making this solution scalable as your data
grows.
4. Dynamic Redaction: Data redaction can be dynamic and based on expressions defined in the
policy. For instance, you can create policies that redact information based on user name, user
role, specific application, or IP address, supporting varied use cases and ensuring that actual
data is displayed in full only under appropriate conditions.
5. Portability: Both data and redaction policies are transportable across different environments.
This allows for smoother migrations, development, and testing cycles and ensures that data
protection rules stay consistent.
For example, your EMPLOYEES Table has several sensitive columns, including HIRE_DATE,
BIRTH_DATE, GENDER, STREET, CITY, STATE, ZIP_CODE, and BASE_SALARY. You may
create a policy as such:
The application user and an application role can view actual data in
the HIRE_DATE, STREET, CITY, STATE, and ZIP_CODE columns.
Only the application user can view data the BIRTH_DATE, GENDER,
and BASE_SALARY columns.
Regular users cannot access any of the above column data.
For example, a financial analyst wants to predict credit usage within the next 12 months. They could
have data in columns such as
Suppose you always want specific columns to be redacted for all non-administrative users. In that
case, you will typically use a policy expression function of '1=1', which always evaluates to TRUE, so
long as the querying user is not exempt from the redaction policy. Using this condition saves CPU
time during the fetch operation from a redacted column by avoiding the need to evaluate any policy
expression.
Conclusion
Oracle Data Redaction is one of many capabilities in Oracle Database 23ai that demonstrates our
commitment to providing robust, flexible, and secure database solutions. Data Redaction enables you
to protect sensitive information more effectively while leveraging the full power of the Oracle
Database.