Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My Company supplies the MS SQL Server 2005 Express database .mdf files with their solution. Which we attach at client's computers SQL server (Doesn't have the Management studio) on first run of the application software. Now my boss wants me to lock the database so that no one can even see the database even if they install management studio on their own without the username-'sa' and password for it.
What he wants is- The database can only been seen or accessed or used by using logins for sa with exact password. Even the administrator account of client's computer or client computer's SQL server administrator cant even see the database.

Is it even possible, I have searched for it but nothing came up as promising and clear.....
Thanks in advance




How to set permission or security roles or users or logins or instance something like that for my database, so that No one have access to my database whatever authentication they passed. That means if user at client use windows authentication mydatabase shouldn't be available to him. only login using server authentication and with a selected username and password let user to access mydatabase.
Posted
Updated 26-Apr-13 20:46pm
v2
Comments
Maciej Los 26-Apr-13 11:08am    
What you mean: lock the database so that no one can even see the database even if they install management studio?
Sukanta Ghosh 27-Apr-13 2:28am    
If an administrator (other than specified account) from Clients computer log in and suppose Client installed Management studio by their own, in server explorer they will not my database either
RedDk 26-Apr-13 13:54pm    
The .mdf can't be read by a user with administrative privilege. Tough encryption. On it. The .mdf file.
Sukanta Ghosh 27-Apr-13 2:29am    
how to implement it, what are the consideration regarding the implementation

1 solution

All you need is to set Authentication mode[^] to: SQL Server and Windows Authentication mode.

How to change authentication mode? See this: How to: Change Server Authentication Mode[^].

Please, read about: Security Considerations for a SQL Server Installation[^] too. Follow the related links (see menu on the left side of window).
 
Share this answer
 
v2
Comments
Sukanta Ghosh 27-Apr-13 2:57am    
Authentication mode is for server installation. I want something that only for my database. I am not concerned about the rest of servers objects and also not at liberty to change or modify the server properties. I am seeing stars............ as of I know little about sql server specifically the admin part.

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