Encrypt/Decrypt SQL Server 2005 data files



We are trying to encrypt/decrypt a SQL Server 2005 database file.
It is my understanding that you can encrypt the main database, but not its log file. The database file was successfully encrypted, but SQL Server failed to decrypt it on opening after a many minutes delay. The database was subsequently decrypted with a manual command, but the database had been damaged and couldn't be re-opened. It had to be deleted and restored.
It appears that there is no practical way to use an encrypted SQL database because of apparent glitches and the extremely slow decryption process.
We have considered backing up the database, encrypting the backup copy, deleting the database from the SQL directory on shutdown and then restoring it on startup. Another alternative is to store the data on removable media.
I would greatly appreciate a suggestion as to how to best protect the data. We use SecuriKey to protect OS system startup. This works, but it doesn't protect the data if, for example, the hard drive is moved to another computer.
I have read the following article:
http://msdn.microsoft.com/msdnmag/issues/05/06/SQLServerSecurity/default.aspx

Thank you very much.

Robert Robinson
.



Relevant Pages

  • Re: Local datastore for visual basic .net aplication on a pda
    ... >>> most of the database access controls and etc available on the full .net ... >>> framework arenīt available for the .net compact framework, so, so much ... >>> database file as an local datastore without the SQL server running? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Driver caching db??
    ... The driver does not touch the database file directly. ... > Then I try to attach to the database in SQL Server Enterprise Manager ...
    (microsoft.public.sqlserver.odbc)
  • Re: Opening a SQL Server 2005 Database...
    ... *.mdf is not database, it is data file used by SQL Server/Express. ... The database file name only used in ConnectionString with "AttachDBFileName=..." ... I'm trying to open a SQL Server 2005 Database without creating a Data ...
    (microsoft.public.vsnet.general)
  • Re: Reaching Access 2003 datas via SQL Server 2005 64 bits
    ... this newsgroup is about ADP and has nothing to do with the other ... formats of Access database files known as MDB and ACCDB and/or Access JET. ... database file exists and if yes, that will copy the data from the Access ... (I have no problem to reach Sql Server 2005 tables from Microsoft ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Cannot open mdf file in a LINQ application
    ... The issue occurs when we attach SQL Server 2008 database files to ... copy of the your database file and database log file to avoid any data lost. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework)