This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

Whitelist addon installation

  • 4 valiny
  • 2 manana an'ity olana ity
  • 2 views
  • Valiny farany nomen'i cor-el

more options

Hi, I setup Firefox with a mozilla.cfg file to prevent users from installing addons.

//Disable add-on installation lockPref("xpinstall.enabled", false); //lockPref("extensions.enabledScopes", 0);

With Chrome Im able to whitelist Extension ID's, is this possible with Firefox also?

Thanks a lot!

Hi, I setup Firefox with a mozilla.cfg file to prevent users from installing addons. //Disable add-on installation lockPref("xpinstall.enabled", false); //lockPref("extensions.enabledScopes", 0); With Chrome Im able to whitelist Extension ID's, is this possible with Firefox also? Thanks a lot!

Vahaolana nofidina

You can try to ask at the Firefox Enterprise forum. Mike Kaply knows a lot more about this than any of us.

Hamaky an'ity valiny ity @ sehatra 👍 0

All Replies (4)

more options

AFAIK to be able to stop this would be to make a Standard User account to prevent anyone but the Admin/Owner to install them. If your giving them the admin/Owner account access your not going to stop them from doing what they want.

more options
more options

Thanks for the replies, with the JSON policy you can force an install, uninstall or lock down extensions. This is not what we are looking for I think, what we need is the following:

All extensions are blocked by default and cannot be installed through addons.mozilla.org, only the extensions in a preconfigured list can be installed, for instance:

Lastpass Ghostery

If I put the following items in mozilla.cfg: lockPref("xpinstall.enabled", false); lockPref("extensions.enabledScopes", 0);

And the whitelisted extensions in the policies.json file: {

 "policies": {
   "Extensions": {
     "Install": ["https://addons.mozilla.org/firefox/downloads/file/1018132/lastpass_password_manager-4.15.2.17-an+fx.xpi", "//path/to/xpi"]
   }

}

Will that work? And how can I make the install url generic so future versions will also be whitelisted? Thanks again!

more options

Vahaolana Nofidina

You can try to ask at the Firefox Enterprise forum. Mike Kaply knows a lot more about this than any of us.