We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

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

  • 2 respostas
  • 3 têm este problema
  • 6 visualizações
  • Última resposta de 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.

Todas as respostas (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.

Alterado por daveada em