Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 2.79 KB

1.8 -- User Permission and Application Permission.md

File metadata and controls

62 lines (49 loc) · 2.79 KB

User Permissions

  • Android creates a separate users for all the application a user installs.

  • In Android, when application request for permissions and user grant that permission, then android add that application's user in Specific Permission Group. :-: Example :-: Different Groups are there for different resource permission like for camera, Mic, Storage, contacts, phone, etc. This works the same way a sudo group does, if a user exist in sudo group only then the user can execute commands with sudo permissions.

  • Permission Groups :-: adb shell pm list permissions -d -g --> -d is used to display Dangerous permissions --> -g is used to group all those Dangerous Permission

group:com.google.android.gms.permission.CAR_INFORMATION

  • permission:com.google.android.gms.permission.CAR_VENDOR_EXTENSION
  • permission:com.google.android.gms.permission.CAR_MILEAGE
  • permission:com.google.android.gms.permission.CAR_FUEL

group:android.permission-group.CONTACTS

  • permission:android.permission.WRITE_CONTACTS
  • permission:android.permission.GET_ACCOUNTS
  • permission:android.permission.READ_CONTACTS

group:android.permission-group.PHONE

  • permission:android.permission.READ_CALL_LOG
  • permission:android.permission.READ_PHONE_STATE
  • permission:android.permission.CALL_PHONE
  • permission:android.permission.WRITE_CALL_LOG
  • permission:android.permission.USE_SIP
  • permission:android.permission.PROCESS_OUTGOING_CALLS
  • permission:com.android.voicemail.permission.ADD_VOICEMAIL

group:android.permission-group.CALENDAR

  • permission:android.permission.READ_CALENDAR
  • permission:android.permission.WRITE_CALENDAR

group:android.permission-group.CAMERA

  • permission:android.permission.CAMERA

group:android.permission-group.SENSORS

  • permission:android.permission.BODY_SENSORS

group:android.permission-group.SUPERUSER

  • permission:android.permission.ACCESS_SUPERUSER

group:android.permission-group.LOCATION

  • permission:android.permission.ACCESS_FINE_LOCATION
  • permission:com.google.android.gms.permission.CAR_SPEED
  • permission:android.permission.ACCESS_COARSE_LOCATION

group:android.permission-group.STORAGE

  • permission:android.permission.READ_EXTERNAL_STORAGE
  • permission:android.permission.WRITE_EXTERNAL_STORAGE

group:android.permission-group.MICROPHONE

  • permission:android.permission.RECORD_AUDIO

group:android.permission-group.SMS

  • permission:android.permission.READ_SMS
  • permission:android.permission.RECEIVE_WAP_PUSH
  • permission:android.permission.RECEIVE_MMS
  • permission:android.permission.RECEIVE_SMS
  • permission:android.permission.SEND_SMS
  • permission:android.permission.READ_CELL_BROADCASTS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++