Is there are way to hide my application’s data folder in Android? I’m storing some stuff in sdcard/data/{package name} and I would like it to be private.
Thanks.
Update
Sorry, I meant the internal memory. I’ll be using it to cache some images.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When the android security model is intact, files in your application’s private storage area are only visible to your application and any other applications you have signed and assigned to share it’s userid, unless you set them with world readable permission.
However, you cannot rely on this because there are a significant number of devices out there where the original security model is not intact: including development devices and emulators without it turned on, devices where the model is invalidated by bugs, or devices owned by end users who have customized (ie, “rooted”) the device. In these cases the application’s private files will be accessible to the end user, and likely also to some add-on tools and applications on the device.