便携式数据库,用于存储机密 [英] Portable database for storing secrets

查看:114
本文介绍了便携式数据库,用于存储机密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个需要在数据库中存储机密的应用程序.

我需要一个可移植的数据库(例如Firebird,Sqlite等),在该数据库中数据将被加密存储或受密码保护,或者两者都存储...

I need a portable database (like Firebird, Sqlite, etc) where the data will be stored encrypted or password protected or both...

让我们以为例我要创建一个密码管理器.我需要将这些密码存储在数据库中.我习惯于使用Embed Firebird,但不用于秘密数据.

Let's take as example that I want create a password manager. I will need store that passwords in a database. I'm accustomed to use Embed Firebird, but not for secret data.

另一种解决方案是在不连接文件时自然使用数据库并对数据库文件进行加密,但是我不确定其安全性或性能影响.

Another solution is to use the database naturally and encrypt the database file when I'm not connected to file, but I'm not sure of the security or performance implications.

您推荐的最佳方法是什么?

What the best method that you recommend?

推荐答案

有一个名为.最好的选择是哪个. sqlite db,磁盘上的所有数据均已加密.

There is a project called sqlite-crypt. Which should be your best bet. sqlite db with all data on disk encrypted.

这篇关于便携式数据库,用于存储机密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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