Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Encrypt SQL Server 2008 Database

I have a database which currently is using by my application. I dodn't want to change anything in my application CORE. But I want to encrypt DATA and INFORMATION in which stored or is storing in database.

SQL Server 2008 (or 2008 R2) should have an internal mechanism to encrypt and decrypt information which given and taken to application.

How to get it to work? Encryption is needed for all of the fields in Database, numerics, strings, booleans, datetimes, etc.

Any help is appriciated

like image 835
Nasser Hadjloo Avatar asked Feb 03 '26 08:02

Nasser Hadjloo


2 Answers

If you want cell level Encryption you should do it yourself (using Triggers or any other wayes) if you want Encrypt Database file you can use Transparent Data Encryption (TDE)

like image 63
Arian Avatar answered Feb 05 '26 23:02

Arian


SQL 2008 has TDE or, Total Database Encryption. This encrypts the entire database and is transparent to any users of the database. The details of how to go about it can be found in these two Microsoft articles:

http://msdn.microsoft.com/en-us/library/cc278098%28v=sql.100%29.aspx

http://msdn.microsoft.com/en-us/library/bb934049.aspx

like image 25
Slogmeister Extraordinaire Avatar answered Feb 05 '26 22:02

Slogmeister Extraordinaire