views:

629

answers:

4

HelLo

Is there any way to password protect an SQL server database without using commercial third party tools? What can help me achieve this?

Please help...Thanks

+4  A: 

In SQL Server 2008, you have transparent data encryption which allows you to set a password and certificate so that MDFs and Backups can not be restored or attached without the correct password/certificates.

Here's more information: SQL 2008 Encryption

Jose Basilio
+1  A: 

You can secure it via the permissions you grant to the accounts that can access it and what objects they can see and operations they can do. Not 100% clear on your question however.

schooner
+2  A: 

Yes. you can protect it from everyone except the administrators of the server.

Ed Guiness
+1 an oft forgotten security challenge, which encryption by itself is no protection against...
Pontus Gagge
A: 

A Database in MSSQL is not only a repository of tables queries and recorsets. It also has stored procedures, triggers, jobs and more components than a simple i.e. Access database.

All those objects with the exception of "logins" (something like users), are accessed through an ACL (Access Control List) in wich you can add not only users but also privileges for those users to each object in the database.

Logins can be created in two ways depending of the configuration of the server: Using the Windows Autentication or the SQL Server autentication method in wich you need to create them manually .

Now, if you are talking about protecting the phisical files, one way to do it is at backup time, and certainly with only one password.

backslash17