Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 qt c++ 和 SQliteStudio,我需要一种使用密码保护数据库的方法,这样任何人都无法直接访问其内容;只能通过程序本身进行编辑。
不幸的是,SQLite 不提供 SQLite 驱动程序要求执行任何写操作的安全性,用户必须对数据库所在的目录以及数据库文件本身具有读写访问权限。
如果数据安全是您的应用程序的一个重要考虑因素,那么可能值得考虑使用具有内置安全模型(与 SQLite 不同)的数据库引擎(例如 SQL Server)。