Security access levels for Firefox OS Web APIs to access the device are divided into three categories, as mentioned earlier. Let's now study the three application types in detail:
Hosted apps: These kind of apps have only on-demand permissions; they do not and cannot make use of the Privileged or Internal/Certified APIs. They can either be self published or distributed via the Firefox OS Marketplace after being digitally signed. The reviewing process of Web apps and Privileged or Internal Apps is different in the marketplace. These applications can be hosted applications as well. This is the default permission level of a Firefox OS application (by default type: web, if the type is not specified in the manifest file).
Privileged apps: These kind of applications are apps that have permissions for device-sensitive APIs, such as contacts, browser, and so on. The type of application has to be declared as privileged in the manifest file of the application....