Thank you. I still have some questions:
1. After the installation, the app's related permissions files is saved in
the same .apk file or  saved in a system central file?
2. At runtime, I learned that there is a "reference monitor" from the
paper Understanding
Android 
Security<http://ieeexplore.ieee.org/xpls/abs_all.jsp?isnumber=4768640&arnumber=4768655>to
check the permission lable.  Which is the source code for this
"reference
monitor", or it's a vitual concept. I wonder to know which parts of source
code dealing with this function. Thanks.

regards,
Xudong

2009/5/5 Dianne Hackborn <[email protected]>

> Currently it is all or nothing; you can't accept or deny individual
> permissions, just the entire app.  The code dealing with permissions is in
> PackageManagerService.java and the front-end UI is in the PackageInstaller
> app.
>
>
> On Tue, May 5, 2009 at 7:10 AM, 倪旭东 <[email protected]> wrote:
>
>> Hi Members,
>>        Is anyone know where is the   source code for the installer in
>> android? Since the installer decides whether to grant permissions to the
>> requesting App, based on different protection levels. The question is how
>> android deals with App if it denies App's permission request. For example,
>> an App requests bluetooth and Wi-Fi connection ,which are both "dangerous",
>> if the end-user accepts bluetooth but denies Wi-Fi, how the system to save
>> the permission label? Or any permission requset fails, the installation also
>> fails?
>>
>> Thanks a lot.
>>
>>
>> Regards,
>> Xudong
>>
>
>
>
> --
> 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.
>
>

Reply via email to