We are developing a multiple platform mobile application using Xamarin. We want to protect the database (SQLite) with at the very least a password to gain access to it.
We're not too concerned with our Windows Phone platform as the storage is protected so that only the application has access to it, but with the Android platform it can easily be lifted from the device and we'll be developing an iPhone version soon.
We use Xamarin which integrates with .NET and allows us to share the business logic across all platforms but requires the UI to be written separately for each platform.
As of present, September 2014, what would be the best way to password protect the database.
What is the recommended approach?
UPDATE:
Currently Xamarin points to using one of these 2 methods:
http://developer.xamarin.com/recipes/ios/data/sqlite/
We currently use SQLite.NET, but as far as I can tell, neither will allow me to user the method:
conn.setPassword()
Is this a limitation in the Android version of SQLite or just the access layer not exposing the functionality?
UPDATE 2: It seems the ADO.NET version does allow the set password functionality.
Thanks.