WebAPI/Security/Settings: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "Name of API: Settings API Reference: https://bugzilla.mozilla.org/show_bug.cgi?id=678695 Brief purpose of API: API to configure device settings General Use Cases: None Inherent...")
 
No edit summary
Line 8: Line 8:
*Access sensitive configuration data (wifi passwords etc)
*Access sensitive configuration data (wifi passwords etc)
*Change settings which might cost user money (data settings, roaming etc)
*Change settings which might cost user money (data settings, roaming etc)
*Safety implications (airplane mode? If you believe a plane can be brought down by a mobile phone...)
*Privacy implications  


Threat severity: High
Threat severity: High

Revision as of 07:38, 12 June 2012

Name of API: Settings API Reference: https://bugzilla.mozilla.org/show_bug.cgi?id=678695

Brief purpose of API: API to configure device settings General Use Cases: None

Inherent threats:

  • Access sensitive configuration data (wifi passwords etc)
  • Change settings which might cost user money (data settings, roaming etc)
  • Privacy implications

Threat severity: High

Regular web content (unauthenticated)

Use cases for unauthenticated code: Read/change non-sensitive settings Authorization model for normal content: None Authorization model for installed content: Implicit read access to limited settings. Write access OS mediated. Potential mitigations: Only non-sensitive settings will be exposed to regular apps.

Trusted (authenticated by publisher)

Use cases for authenticated code: Modify a specific setting - e.g. e-book app modifies brightness in response to lighting conditions Authorization model: Implicit Potential mitigations: Access to a subset of lower risk settings

Certified (vouched for by trusted 3rd party)

Use cases for certified code: replacement settings manager app Authorization model: Implicit access to all settings Potential mitigations: None