I'm interested in blocking or reporting any application's usage of extended permissions, regardless if they are granted those rights, such as:
- GPS / Location / Wifi
- Radio signal data
My rational is related to a person's privacy. For example Facebook Messenger has an application-level icon to disable location reporting. How can I theoretically force the app to no longer use that feature at an OS level? (yes, Settings will do it, but where in the OS stack does it operate?)
The answer I'm interested in will refer to iOS and Android Operating System details, and not a simple security on/off switch available in Settings.
Taking the Windows OS as an example, most of this would be handled in the Kernel, and within that, a protected subsystem that probably doesn't operate in privileged ring 0. Interesting API's would be located in XXX library (kernel.dll?)
- What layer in the Android and iOS operating system is most suited to blocking or controlling permission access at runtime?