Apps on SD card are stored in an encrypted container for platform security
purposes -- so that other applications can not modify or corrupt them.  When
mounting the SD card, these containers are mounted so that they can be
accessed in the same way as apps stored in internal storage.

On Tue, Jun 29, 2010 at 9:37 PM, Mathias Lin <[email protected]> wrote:

> Hi,
>
> can somebody please explain how asec exactly works? I couldn't find much
> info about it on the mailing list or elsewhere.
>
> I installed my app on the emulator with 2.2 and onto the sdcard. When I
> browse via adb shell, I can see that the encrypted app file lies under
> /mnt/secure/asec/com.myapp-1.asec but it also lies as plain apk file
> unencrypted at /mnt/asec/com.myapp-1/pkg.apk as well and I can do a 'adb
> pull' without special permissions and unzip it to see it's content.
>
> Unfortuntately my N1 is in repair and I cannot check on a real device right
> now - but wondering, why can I still access the plain apk so easily (at
> least on the emulator)?
>
> Thanks,
> Mathias
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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

Reply via email to