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

How to lockdown and prevent add-ons from being installed?

  • 2 cavab
  • 2 have this problem
  • 2 views
  • Last reply by cor-el

more options

Hi. I'd like to lockdown an installation of Firefox on a Win XP computer, to prevent add-ons from being installed by limited account users. How do I accomplish this please?

Hi. I'd like to lockdown an installation of Firefox on a Win XP computer, to prevent add-ons from being installed by limited account users. How do I accomplish this please?

All Replies (2)

more options

I wasnt too sure a limited user account could install add-ons in XP pro. You certainly have the ability as an admin to lock or change permissions on any folder and file you wish on a limited user account.

My XP pro system is mothballed, so can not experiment at the moment.

more options

Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.

Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift

See:

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes

lockPref("xpinstall.enabled", false);