Transparent Data Encryption(TDE)

MSSQL-Feature-Image

Transparent Data Encryption(TDE)
It protect the data and log files.
It encrypt the database at the page level.
It encrypt database before it write to disk.
It decrypt database when it read to memory.
It does not increase the size of the database.
It use Database Encryption Key(DEK) to encrypt Database.
DEK store in the database boot record for availability during recovery.
DEK can be protect by certificate or asymmetric key with extensible key management provider.
The above certificate or asymmetric key with extensible key management provider must be create at “master” system database.
When restore TDE database, the certificate or asymmetric key, which is used to protect DEK, must be available.
DEK use AES algorithm with 128,192,256 length.

View DEK information

View Database enable TDE or not

Create Master Key & CERTIFICATE at master

Create DEK

Change DEK’s AES length

Enable TDE on databases

Disable TDE on databases

Author: Joe Chan