SQL Server Compact Database File Security

SQL Server Compact Database File Security

 

SQL Server Compact (SQL CE) supports password protecting the database file.

1) Password is a must to encrypt SQL CE database

2) When you create a SQL CE database with a password, it automatically gets encrypted

 

Now there have been many questions around on about the strength of the security. The strength of the database file security lies in the encryption and authentication algorithms used to protect it. Please keep your question of why authentication algorithm is required and why not just encryption algorithm sufficient enough in your mind only and I hope you agree with me on the fact that some details better be not open for the sake of better securityJ.

Now coming to what exactly are the algorithms used in what version is outlined in a table below: