SQLite3数据库加密 - 确定加密库? [英] SQLite3 database encryption -- determining encryption library?

查看:384
本文介绍了SQLite3数据库加密 - 确定加密库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑为PHP应用程序支持加密的sqlite数据库。我正在使用PHP的SQLite3扩展,似乎他们已经支持一种加密方法,至少SQLite3 :: __构造允许加密密钥通过。



什么我无法弄清楚他们在文档中谈论的加密库。通过谷歌搜索,我发现以下内容:




  • sqlcipher

  • sqlite看到

  • sqlite crypt



我不清楚的是:




  • 如果这些库与SQLite3

  • 集成,如果它们在指定加密密钥和设置数据访问等方面彼此兼容。

  • 如果我可以自动检测我的应用程序,如果有的话,我的SQLite3安装支持哪个加密库,那么我的应用程序可能支持不同的加密库

  • < $>

    任何帮助都非常感谢!

    解决方案

    对于SQLite加密发布,管理员解释如何使用sqlcipher http://www.basi c4ppc.com/forum/basic4android-getting-started-tutorials/14965-android-database-encryption-sqlcipher-library.html


    I am considering supporting encrypted sqlite databases for a PHP application. I am using SQLite3 extension of PHP and it seems, that they already support an encryption method, at least SQLite3::__construct allows for an encryption-key to pass.

    What i was not able to figure out is, which encryption library they are talking about in the documentation. By googling i found the following:

    • sqlcipher
    • sqlite see
    • sqlite crypt

    What is not clear to me is:

    • how these libraries integrate with SQLite3
    • if they share compatibility to each other regarding to specifying the encryption key and setting up data access etc.
    • if i can automatically detect in my application if any and which encryption library my SQLite3 installation is supporting, so it would be possible for my application to support different encryption libraries

    Any help is very much appreciated!

    解决方案

    One post that seemed useful for SQLite encryption was posted by and admin explaining how to use sqlcipher http://www.basic4ppc.com/forum/basic4android-getting-started-tutorials/14965-android-database-encryption-sqlcipher-library.html

    这篇关于SQLite3数据库加密 - 确定加密库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆