# Oracle Database 21c New Security Features

- URL: https://www.integrigy.com/security-resources/oracle-database-21c-new-security-features
- Published: 2021-01-29
- Type: Webinar
- Products: Oracle Database
- Focus areas: Auditing, Authentication
- Applies to: DB 21c
- PDF: https://www.integrigy.com/sites/default/files/Integrigy%20-%20Oracle%20Database%2021c%20New%20Security%20Features.pdf
- Recording: https://www.youtube.com/watch?v=ff0VCKEoLlU

> Webinar on the new security features in Oracle Database 21c, including blockchain tables, gradual database password rollover, mandatory case-sensitive passwords and Unified Auditing enhancements.

Oracle Database 21c, an Innovation Release, added a number of security features and changes. We review the key ones: Blockchain Tables, the Unified Auditing enhancements, Gradual Database Password Rollover, mandatory case-sensitive passwords now that `SEC_CASE_SENSITIVE_LOGON` is removed, and mandatory profiles that apply password rules across all pluggable databases.

DBAs and security teams can then decide which features to adopt and what to check when creating new databases or upgrading existing ones.

## Key Points

- Blockchain Tables, also available in 19.10 (January 2021), are insert-only tables whose rows are chained with SHA2_512 hashes, and `NO DROP` without a day count means the table can never be dropped, so use `1 DAYS` in testing rather than `0 DAYS` and monitor for ORA-05723 and ORA-05715.
- Changes to Unified Audit policies now take effect immediately in all sessions, policies are enforced on the current user (such as the owner of a definer rights procedure) rather than the login user, and Traditional Auditing is deprecated (Oracle Database 23ai has since desupported it).
- Gradual Database Password Rollover lets a database-authenticated account accept both its old and new passwords for the `PASSWORD_ROLLOVER_TIME` in its profile, from one hour (1/24) up to the lowest of 60 days, `PASSWORD_LIFE_TIME` and `PASSWORD_GRACE_TIME`, with `DBA_USERS` showing the account as `IN ROLLOVER`.
- Use password rollover only for active service and application accounts, not for schema owners or for Oracle E-Business Suite (MOS Note ID 1674462.1) and PeopleSoft (MOS Note ID 2559419.1), which must be shut down to change the password, and keep the rollover to about a day, ending it with `EXPIRE PASSWORD ROLLOVER PERIOD`.
- `SEC_CASE_SENSITIVE_LOGON`, introduced in 11g for applications that did not support case-sensitive passwords and deprecated in 19c, is removed in 21c, so review database accounts with only 10g password authentication before upgrading.
- A profile created in the CDB root with the new `MANDATORY` option cannot be changed by PDB administrators, and its password verify function runs before the account profile's for all local and common accounts, so it can enforce minimum password length and complexity in every PDB.
