lundi 2 mars 2015

Is it possible to encrypt an SQLite database when using offline data sync in Azure Mobile Services?

I have a WinRT app that saves an SQLite database using Azure Mobile Services. I followed the tutorial here: Using offline data in MobileServices


I got the database working, but I was wondering if it was possible to either encrypt or password protect the database file that is created with this line



var store = new MobileServiceSQLiteStore("localstore.db");


I'm trying to add in an extra layer of security to protect sensitive information. Passwords and such aren't stored in the database, but other information that the user enters may need to be protected and synchronized with a service hosted on Azure. Otherwise, someone could potentially navigate to C:\Users\[username]\AppData\Local\Packages\[packageId]\LocalState and open the database with any SQLite database browser program. I could encrypt the data that is saved in the classes before it is saved to the database, but it would be preferable to encrypt the database file if possible.


Aucun commentaire:

Enregistrer un commentaire