Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Whitelist addon installation

  • 4 отговора
  • 2 имат този проблем
  • 178 изгледи
  • Последен отговор от 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.