views:

128

answers:

2

SQL Server 2008 supports data at rest security through TDE (Transparent data encryption), but the encryption excludes files stored on harddrive through FILESTREAM feature.

How have you handled encryption of this data on file system stored through FILESTREAM? Encrypted File System seems to be an option, but would cause problem during DB backup, as the encryption of db and filesystem are done by two different sources using (possibly) different encryption keys! Please share your thoughts.

Many thanks!

A: 

What is the purpose of encrypting? Is the system is not physically secure? If so, anyone with physical access can, with some trouble, also run the decrypting software and reconstitute the data.

If the database is on a publicly accessible volume and the intent is to to stop casual snooping, then install another hard drive and configure it to be non-shared. This is significantly less expensive, way more reliable, not subject to future cracks, and much more maintainable.

Otherwise, the database access mechanism itself is the most vulnerable to inappropriate access. So it won't matter what filesystem encryption is in effect.

wallyk
@wallyk: Encryption of 'data at rest' is a regulatory requirement for compliance with certain accreditation bodies. The goal is to prevent revealing the data even in case of a physical security lapse. I believe, the TDE attempts to do that, with multiple layers of encrypted keys internally(and ultimately) tied to a master key stored in the operating system. Your solution of keeping a separate harddrive will complement this solution and make it stronger.But, leaving the data unencrypted would allow data access on physical lapse.And, how crack-proof an encryption is subjective, as we all know:)
pencilslate
+2  A: 

Can you have the folders where your FILESTREAM data reside be EFS encrypted by the account your SQL Server runs under?

Jesse C. Slicer
@Jesse: Can EFS be restricted to folder level? I tried googling, but couldn't find a concrete explanation.
pencilslate
Agreed on EFS - Andrew Fryer has blogged about this a couple of times.
Brent Ozar
@pencilslate: Yes, EFS can be applied at a drive, folder and/or individual file level.
Jesse C. Slicer