Click here to Skip to main content
15,890,609 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have an SQL Server DB in a folder, which is attached to SQLEXPRESS instance of my SQL Server. I wonder what is the security of this DB. I tried to copy the file, and it can easily be copied to any folder, anybody can attach it to SQL and can see what data it contains.

Please advise how it can be protected from being copied and attached by unauthorized persons?

Thanks
Posted

1 solution

Don't let user be dbadmin on the server, and don't let user have physical or remote access to the server.
 
Share this answer
 
Comments
Mas11 25-Jan-13 4:46am    
Nice answer !
Furqan Sehgal 25-Jan-13 5:31am    
Thanks ! Where to set the dbAdmin property?
Zoltán Zörgő 25-Jan-13 5:40am    
Consult these:
http://www.techrepublic.com/article/understanding-roles-in-sql-server-security/1061781
http://msdn.microsoft.com/en-us/library/ms188659(v=sql.105).aspx
http://msdn.microsoft.com/en-us/library/ms189121(v=sql.105).aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900