9

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

Eugene
  • 57,641
  • 91
  • 219
  • 328
  • 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
  • 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
0

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

Yaqub Ahmad
  • 27,316
  • 22
  • 100
  • 148