1) Applications signed with different signatures get different UIDs.
If you sign your apps with the same signature and you explicitly
request it, they can get a shared UID - the default behavior is still
to have separate UIDs, though.

2) The SD card is a FAT filesystem, which doesn't enforce any kind of
permissions. On top of that it's designed to be easily accessible
without going through Android.

3) Don't expect that it'll be entirely possible. All you can hope for
is to add layers that make things less easy.

JBQ

On Fri, Jul 17, 2009 at 1:43 AM, Akhilesh
Gupta<[email protected]> wrote:
>
> Hi
> The android dev guide mentions on the Data Storage page that "On
> Android, all application data (including files) are private to that
> application. "
> 1. I wish to know how this is ensured.
> 2. Also, does this mean that if an application saves a file on the SD
> card, it will not be accessible to any other application?
> 3. Another related question, is it possible to save an application's
> data in such a way that not even the user can access that data outside
> of that application?
>
> Thanks
> Akhilesh Gupta
>



-- 
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Reply via email to