Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

encrypt column in the table

Tags:

sql-server

I am just wondering if there is a MS technology which allow to transparently encrypt the column of table.

There is a symmetric/assymetric encription which allow to encrypt one column of the table. But this technology is not transparent for user applications. The application needs to open keys and use the ENCRYPTBYKEY/DECRYPTBYKEY functions.

There is TDE which allow to transparently encrypt the database, but it works with databases, backups and transaction log - not one column of database.

Is it possible to transparently encrypt one of the column in the table?

like image 818
ceth Avatar asked Mar 22 '11 12:03

ceth


People also ask

What is database column encryption?

Column level encryption is a type of database encryption method that allows user to select specific information or attributes to be encrypted instead of encrypting the entire database file.

What is column encryption key?

A column encryption key metadata object contains one or two encrypted values of a column encryption key that is used to encrypt data in a column. Each value is encrypted using a column master key.


1 Answers

Unfortunately no, unless you implement it yourself.

In SQL Server 2008 TDE is implemented at the database level (no column is_encrypted in sys.databases), so it is the only way of doing it.

like image 105
Pavel Nefyodov Avatar answered Oct 05 '22 12:10

Pavel Nefyodov