Saturday, June 11, 2011

Re: [android-developers] Android - SQLLite

Thanks !! What should I do if I want to protect my data in more secure way meaning even if someone steels my memory card they should not gain access to my data or immediately it should be erased ?

On Sat, Jun 11, 2011 at 7:08 PM, Mark Murphy <mmurphy@commonsware.com> wrote:
On Sat, Jun 11, 2011 at 9:31 AM, Sivaprakash
<sivaprakashshanmugam@gmail.com> wrote:
> I want to persist few data into SQL Lite storage which comes with Android.
> How the internal storage works because there is a possibility that other
> applications can access my data?

If you store your database in the default directory, that will be in
your application's private internal directory. If you create the
database the default way, other applications will not be able to
access it, unless they are run as superuser on a rooted device.

> Is there any way for me to set password for
> my database to prevent other apps to access my data?

No. You are welcome to encrypt your data by one means or another, so
long as the user supplies the password.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
- Prakash.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment