Is this secure to keep sensitive data like pins, passwords using build in SQLite database?
Asked
Active
Viewed 1.2k times
4 Answers
3
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.
Pascal MARTIN
- 385,748
- 76
- 642
- 654
1
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.
Ned Batchelder
- 345,440
- 70
- 544
- 649
1
There is a similar question already answered here
Basically, you can use System.Data.Sqlite wrapper, which includes encryption
Community
- 1
- 1
Arsen Zahray
- 23,085
- 46
- 122
- 219