Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Demystify Android Permission

Demystify Android Permission

The latest version of Android OS 6.0 Marshmallow comes up with some noticeable features like the new runtime permission model, a new power management system, native support for fingerprint etc. In this talk, he explores the new permission model introduced in Marshmallow and how to deal with it.

Chintan Rathod

December 27, 2015
Tweet

More Decks by Chintan Rathod

Other Decks in Technology

Transcript

  1. How permission works? Install an App List of Permissions in

    Androidmenifest.xml Ask user for approval User approve ? System cancels installation Denies all permissions System installs application Grants all permissions
  2. What we are doing? • We put trust on them

    • Also granting permission which are not necessary but there is no other way around
  3. What’s new? • Each app will run in limited sandbox

    • Explicit permission request is required for outside resource use • User may grant or deny runtime permission
  4. Level of protections new? Normal Permission It cover areas where

    your app needs to access data or resources outside the app's sandbox, but where there's very little risk to the user's privacy or the operation of other apps Dangerous Permission It cover areas where the app wants data or resources that involve the user's private information, or could potentially affect the user's stored data or the operation of other apps.