senline

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Sql Server Compact Edtion 是文件数据库,可以通过在连接串指定 password 进行加密。

如果要取消加密,则不需要指定password 属性。很多人会以为password 是类似于大型数据库 的用户的密码,其实不是。

如果制定了password,则自动使用这个密码对数据库文件进行加密,即便你指定了 Encrypt Database=false。

“The Encrypt Database="True" pair is really not necessary as the presence of the Password-parameter itself turns on encryption for the connection.”

翻译过来就是:Encrypt Database="True“ 参数其实没用,如果制定了password参数,则自动打开加密选项。

posted on 2012-05-07 21:56  森蓝2010  阅读(269)  评论(0编辑  收藏  举报