Alex Rivera | Logout

Determining the level of Android permission

Asked 2012-05-18T12:25:30.857
8

I have some Android permissions which I would like to know to which permision PROTECTION LEVEL they belong. Does anybody know how can this be checked? For example I need to know the PROTECTION LEVEL of android.permission.RECEIVE_BOOT_COMPLETED permission, but I would like to check many more.

EDIT:

I see that I didn't put it clearly: What I mean is not an API level with which permission was introduced, but permission protection level, one of four: Normal, Dangerous, Signeture, Signature Or System. It determines for example how this permission is presented to user during the application installation. How can I check to which protection level certain permission belongs?

Edit
Report

1 Answer

0

For Android-Permission..

  • To enforce permissions, various parts of the system invoke a permission validation mechanism to check whether a given application has a specied permission. The permission validation mechanism is implemented as part of the trusted system process, and invocations of the permission validation mechanism are spread throughout the API. There is no centralized policy for checking permissions when an API is called. Rather, mediation is contingent on the correct placement of permission validation calls.

    enter image description here

  • Permission checks are placed in the API implementation in the system process. When necessary, the API implementation calls the permission validation mechanism to check that the invoking application has the necessary permissions. In some cases, the API library may also redundantly check these permissions, but such checks cannot be relied upon: applications can circumvent them by directly communicating with the system process via the RPC stubs. Permission checks therefore should not occur in the API library. In- stead, the API implementation in the system process should invoke the permission validation mechanism.

Also just go through with this documents for more info Android-Permission

answered 2012-05-18T12:44:09.553

Your Answer