设置TZConnection的Properties属性增加加密属性encrypted=yes并且设置Password属性即可以为SQLite数据库加密,需要SQLite3.dll支持加密才可以。经本人测试可以行。win7+Delphi xe2+ZEOSDBO-7.0.3-stable,以上测试是在Delphi xe2 IDE上进行的。但是独立脱离IDE后则能连接但不能查询可其他操作。提示该数据库是加密的。
使用ZEOSDBO-7.0.3的TZConnection给SQLite加密
最新推荐文章于 2018-08-27 10:02:00 发布