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!

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

Whitelist addon installation

  • 4 การตอบกลับ
  • 2 คนมีปัญหานี้
  • 2 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย 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!

วิธีแก้ปัญหาที่เลือก

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

อ่านคำตอบนี้ในบริบท 👍 0

การตอบกลับทั้งหมด (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

วิธีแก้ปัญหาที่เลือก

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