9

Is this secure to keep sensitive data like pins, passwords using build in SQLite database?

Eugene
  • 59,186
  • 91
  • 226
  • 333
  • Have a look at http://stackoverflow.com/questions/3140230/sqlite-database-security –  Aug 07 '11 at 14:44

4 Answers4

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
  • 395,085
  • 80
  • 655
  • 663
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
  • 24,367
  • 48
  • 131
  • 224
0

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
  • 364,293
  • 75
  • 561
  • 662
0

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

Yaqub Ahmad
  • 27,569
  • 23
  • 102
  • 149