WebAPI/Security/PermissionsAPI: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Permission API==
== Permission API==
References:
*https://bugzilla.mozilla.org/show_bug.cgi?id=707625
*https://groups.google.com/d/topic/mozilla.dev.webapps/sEN6K4y4Am8/discussion
Brief purpose of API: Allow an app to manage app permissions in a centralized location
Brief purpose of API: Allow an app to manage app permissions in a centralized location


Line 13: Line 8:
Threat severity: Critical
Threat severity: Critical


== Regular web content (unauthenticated) ==
References:  
Use cases for unauthenticated code:None
*https://bugzilla.mozilla.org/show_bug.cgi?id=707625
 
*https://groups.google.com/d/topic/mozilla.dev.webapps/sEN6K4y4Am8/discussion
Authorization model for normal content:  None
 
Authorization model for installed content: None
 
Potential mitigations:
 
== Privileged (approved by app store) ==
Use cases for privileged code: None
 
Use cases for trusted code: None
 
Potential mitigations:
 
== Certified (system-critical apps) ==
Use cases for certified code: Centralized permissions management app; modify per-app settings


Authorization model: Implicit
=== Permissions Table===


Potential mitigations: None
{| border="1" class="wikitable"
! Type
! Use Cases
! Authorization Model
! Notes & Other Controls
|-
| Web Content || None || No access ||
|-
| Installed Web Apps || None || No access ||
|-
| Privileged Web Apps || None || No access ||
|-
| Certified Web Apps || Centralized permissions management app; modify per-app settings || Implicit ||
|}


==Notes==
==Notes==
Line 40: Line 33:


__NOTOC__
__NOTOC__
[[Category:Web APIs]]
[[Category:Security]]

Latest revision as of 23:41, 1 October 2014

Permission API

Brief purpose of API: Allow an app to manage app permissions in a centralized location

General Use Cases: None

Inherent threats: Change security and privacy permissions, potentially leading to device compromise

Threat severity: Critical

References:

Permissions Table

Type Use Cases Authorization Model Notes & Other Controls
Web Content None No access
Installed Web Apps None No access
Privileged Web Apps None No access
Certified Web Apps Centralized permissions management app; modify per-app settings Implicit

Notes

We are not exposing permission settings to non-certified apps. Apps cannot determine their current settings without actually requesting a permission.