On Mon, Sep 27, 2010 at 4:14 AM, svebee <[email protected]> wrote:
> Hmm..tnx guys. I found this as William Ferguson suggested it.
>
> http://www.androidsnippets.org/snippets/39/
>
> This seems to be secure, but, can someone get this code and read seed
> value and therefore get access to whole database?
If you are trying to defend a database's owner (i.e., the device's
owner) against other people, have the owner supply a password ("seed"
in the parlance of that snippet) to use for encryption.
If you are trying to defend a database *against the device owner*,
don't put the database on the device. Or, come up with a development
and/or business model where you do not fear the user.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android Training in London: http://skillsmatter.com/go/os-mobile-server
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en