为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Is there a way to block extensions from being installed on a network level?

  • 4 个回答
  • 1 人有此问题
  • 10 次查看
  • 最后回复者为 Maciej2

more options

We have staff installing VPN extensions on Firefox that are circumventing our web filter policy. Is there a way to remotely disable extensions, or prevent them from being installed on a network level? We were able to do so on Chrome thanks to Google's ADM template. I have not been able to find something similar for Firefox.

We have staff installing VPN extensions on Firefox that are circumventing our web filter policy. Is there a way to remotely disable extensions, or prevent them from being installed on a network level? We were able to do so on Chrome thanks to Google's ADM template. I have not been able to find something similar for Firefox.

所有回复 (4)

more options

First off why do they have have Admin Privileges to install VPN? That is the only way they can install a VPN - if they have Admin privileges. If your system are Win7 or higher and Admin protected password they can't install a VPN without the Admin priviledges. And since this is beyond FF and a Company Internal Policy Audit this is really nothing related to FF itself specifically.

more options

You don't need to have admin rights to install extensions in Firefox. This is a Firefox "thing" since they don't have any way of managing their browser in a network environment.

more options

See:

You can also lock the Firefox connection settings.

You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.

The mozilla.cfg file needs to be in the main Firefox program folder.

These functions can be used in the mozilla.cfg file:

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

This requires a local-settings.js file in the "defaults/pref" folder where the channel-prefs.js file is located that specifies to use mozilla.cfg.

//
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

The mozilla.cfg and local-settings.js files need to start with a comment line (//).

See Configuration:

more options

I've tried following those steps, creating an autoconfig.js and Mozilla.cfg file in the respectable folder locations. The autoconfig file: // Any comment. You must start the file with a comment! pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);

The Mozilla.cfg file: //Starting comment

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

But I am still capable of installing extensions. I am on Firefox version 57.0.4. Do these preferences no longer work with this version of FF?