I developed winform application. It has a database file...
after installing that application on C drive ... application database is saved...and anyone can see that files(mydatabase.mdf and .ldf)
Is there any option to Hide that both files from unknown user to misuse database?

Wim SturkenboomRank #2,527 · 554 reputationPosted Oct 16, 2014, 8:02 PM EDT
The only solid way to prevent abuse and secure the information is to use encryption / decryption. Store the data in encrypted format or encrypt the complete database. The first option can be used if you only need to access the data via your application (data to be encrypted /decrypted by application). The second option can be used if multiple applications use the database (e.g. your application and SSMS).