How to set a Password on Portable Sql Express Database File?

alim

Well-known member
Joined
Dec 12, 2005
Messages
89
Location
bangladesh
Programming Experience
3-5
Add->Add New Item-> Sql Database


We can create database using sql expression edition but how can we protect them.

I mean how can i set a password. Do I have to install any other application to protect this MDF file .



Thanks in advance
 
Securing Your SQL Server 2005 Express Edition Server
As you can read in that article you can use SQL Server 2005 Management Studio (Express) to configure user access. Also be aware that this type of protection is only valid through regular application based access where you control the user logins, you can't prevent a System Administrator (SA) to attach your database file and get full access to it with another interface. This is however possible with Sql Compact which is a purely filebased database that does not attach to a higher level service, see for example Password Protecting a Database
 
Back
Top