Skip to content

InstallAddonsPermission

Configure the default extension install policy as well as origins for extension installs are allowed. This policy does not override turning off all extension installs.

Compatibility: Firefox 60, Firefox ESR 60
CCK2 Equivalent: permissions.install
Preferences Affected: xpinstall.enabled, browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons, browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features

policies.json
{
"policies": {
"InstallAddonsPermission": {
"Allow": [
"http://example.org/",
"http://example.edu/"
],
"Default": true
}
}
}
JSON schema
InstallAddonsPermission JSON schema
{
"type": "object",
"properties": {
"Allow": {
"type": "array",
"items": {
"type": "string",
"format": "uri",
"pattern": "^([Ff][Ii][Ll][Ee]://.*|[Hh][Tt][Tt][Pp][Ss]?://[^/]+/?)$"
}
},
"Default": {
"type": "boolean"
}
}
}
  • Allow is a list of origins where extension installs are allowed.
  • Default determines whether or not extension installs are allowed by default.
Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\1 = "https://example.org"
Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\2 = "https://example.edu"
Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Default = 0x1 | 0x0

OMA-URI:

./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Addons/InstallAddonsPermission_Allow

Value (string):

<enabled/>
<data id="Permissions" value="1&#xF000;https://example.org&#xF000;2&#xF000;https://example.edu"/>

OMA-URI:

./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Addons/InstallAddonsPermission_Default

Value (string):

<enabled/>
<dict>
<key>InstallAddonsPermission</key>
<dict>
<key>Allow</key>
<array>
<string>http://example.org</string>
<string>http://example.edu</string>
</array>
<key>Default</key>
<true/> | <false/>
</dict>
</dict>