SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 How to Protect My Database File?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dohamsg
Starting Member

22 Posts

Posted - 05/03/2012 :  10:19:31  Show Profile  Reply with Quote
Hi,
Is there any way to prevent my SQL Server2008 database file being attached to an instance of SQL Server?

I don't want anyone to take my database file and attaching it to his SQL Server instance to view my data or change any database object.

Thanks.

robvolk
Most Valuable Yak

USA
15557 Posts

Posted - 05/03/2012 :  12:29:34  Show Profile  Visit robvolk's Homepage  Reply with Quote
The only way to guarantee that is to make the server physically secure and limit network access to it, so someone can't copy it. You can also encrypt the database using Transparent Data Encryption, but that also requires you keep the encryption keys secure.
Go to Top of Page

dohamsg
Starting Member

22 Posts

Posted - 05/06/2012 :  05:07:44  Show Profile  Reply with Quote
Hi, thanks.
Does the Transparent Data Encryption, slows down querying process?
Thanks.
Go to Top of Page

sunitabeck
Flowing Fount of Yak Knowledge

5152 Posts

Posted - 05/06/2012 :  06:41:11  Show Profile  Reply with Quote
Performance impact is 3-5% or better in Microsoft's performance tests. http://msdn.microsoft.com/en-us/library/cc278098(v=sql.100).aspx

For an existing database, TDE is probably the least intrusive method that you can use to encrypt, so that may be a price you are willing to pay.

One other thing to keep in mind is that TDE can have adversely affect the performance of other databases on the same server even if those databases do not use TDE.

Edited by - sunitabeck on 05/06/2012 06:41:52
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000