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