SQLTeam.com | Weblogs | Forums

How to encrypt *.mdf file

sql2012

#1

Hello all,

This is my first post here at vbforums. I hope someone can help with my question.

I make a program for work that encrypts and decrypts .mdf files in C#. I can encrypts and decrypts .sql files, but I can't with .mdf files.

Thank you in advanced.


#2

If you are on Enterprise Edition, you can use Transparent Data Encryption (TDE). See details here.