Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

Is it possible to allow only certain extension to be installed and block all other?

  • 3 replies
  • 1 has this problem
  • Last reply by cor-el

more options

Hi,

Is it possible to allow only certain extensions to be installed and block all others? Kinda like a negative blocklist.xml.

Hi, Is it possible to allow only certain extensions to be installed and block all others? Kinda like a negative blocklist.xml.

All Replies (3)

more options

Probably not, there isn't anything like that built into Firefox. Anything a user can do himself would involve locking the \extensions\ folder or emptying the Allowed Websites - Addons Installation list, but that would only prevent "online" installation of extensions. The worst "offenders" are programs that the user installs which create registry entries and "install" extensions that only the blocklist.xml mechanism can deal with.

The only possible way that I can think of is to add the 20,000 plus extensions that you don't want to the blocklist.xml file, and then lock it so that Mozilla can't update it.

Modified by the-edmeister

more options

Thanks for the answer Edmeister,

I'm thinking about locking down the Extensions folder, and block downloading the xpi files.

Best regards, Sea-you

more options

You can lock the pref xpinstall.enabled to false

lockPref("xpinstall.enabled" ,false);


See also http://kb.mozillazine.org/Locking_preferences