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

搜索 | 用户支持

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

详细了解

Is there a way to set firefox so it only allows access to only one website / (ip address).

  • 2 个回答
  • 3 人有此问题
  • 6 次查看
  • 最后回复者为 daveada

more options

Is there a way to set firefox so it only allows access to only one website / (ip address) and block traffic from everything else (the entire web) other than the one site I want to allow? The site I want to allow is a corporate web application that will only work in firefox. We as a business run a windows server and all client desktops run Internet Explorer with security setting controlled by group policy. We have already locked down the security setting in firefox so users can’t bypass the proxy server settings.

Is there a way to set firefox so it only allows access to only one website / (ip address) and block traffic from everything else (the entire web) other than the one site I want to allow? The site I want to allow is a corporate web application that will only work in firefox. We as a business run a windows server and all client desktops run Internet Explorer with security setting controlled by group policy. We have already locked down the security setting in firefox so users can’t bypass the proxy server settings.

所有回复 (2)

more options

Maybe use a PAC file and lock the connection settings in Firefox to use a PAC file.


Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (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");

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

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

See:

more options

I have a proxy server set up (Symantec.cloud). Fire fox is “locked” so users would find it difficult to bypass it.

I have a file: local-settings.js This is located in: C:\Program Files (x86)\Mozilla Firefox\defaults\pref The content of this file is:

pref("general.config.obscure_value", 0); // only needed if you do not want to obscure the content with ROT-13

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

I also have the file: called: mozilla.cfg This is located: C:\Program Files (x86)\Mozilla Firefox The contents of this file is:

//

lockPref("network.proxy.type", 5);

All that is working fine, users can’t easily change the connection settings. So all that is good and works…

What I would also like to do is set firefox so access is limited to 1 IP address and nothing else is allowed (the whole internet is blocked, except this one IP address). You suggest using a PAC file - I was unsure how I would use a PAC file, (I have never written one) and do not understand how I would implement one? Please help.

由daveada于修改