Dave Howson
Dave Howson

Reputation: 306

Encrypt a Service-Based Database

I have created a Service Based database using Visual Studio 2010 and I want to encrypt the .mdf file. I read that this cannot be done. I want the .mdf to be opened only using my C# program or make the database accessible only via my C# program. Is it possible to encrypt it?

Upvotes: 1

Views: 324

Answers (1)

Dave Howson
Dave Howson

Reputation: 306

I don't know why this is downvoted but I did my homework before posting this and I came across sites which said that encrypting .mdf is impossible or that it shouldn't be done. I just wanted to encrypt my DB. So I decided to create a .sdf instead and now it's platform encrypted. Thanks for @Micky for helping me btw..

Upvotes: 1

Related Questions