开发者

Is that secure to keep sensitive data in SQLite

Is this sec开发者_JAVA百科ure to keep sensitive data like pins, passwords using build in SQLite database?


In theory, an SQLite database created by your application will be visible from your application, but not from outside the application -- see Using Databases.

Still, I suppose that, one way or another, someone could retrieve that database (using some FileExplorer on a rooted device, or using ADB) -- so, it might be wise to at least encrypt the sensitive data.


There is a similar question already answered here

Basically, you can use System.Data.Sqlite wrapper, which includes encryption


SQLite is not itself encrypted. If you store text in a SQLite database, you should assume anyone with access to the device has access to the text.


SQLite data encryption is possible, for more detail see this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜