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!

Questo sito potrebbe offrire funzionalità limitate durante le operazioni di manutenzione per migliorare l'esperienza utente. Se un articolo non risolve il tuo problema e vuoi richiedere supporto, la nostra comunità di supporto è pronta ad aiutarti tramite @FirefoxSupport su Twitter e /r/firefox su Reddit.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Enforce proxy settings in a Citrix published/ multi-user environment

  • 3 risposte
  • 1 ha questo problema
  • 7 visualizzazioni
  • Ultima risposta di Gingerbread Man

more options

I'm publishing Firefox 28 for Windows on a Citrix server. I need to enforce proxy settings for all users and have them greyed out so they cannot be changed. I've looked into the proxy settings, under Advanced, but they are per-user and are able to be changed.

How can I do this?

I'm publishing Firefox 28 for Windows on a Citrix server. I need to enforce proxy settings for all users and have them greyed out so they cannot be changed. I've looked into the proxy settings, under Advanced, but they are per-user and are able to be changed. How can I do this?

Tutte le risposte (3)

more options

See the following page for locking preferences.

These are all the preferences under Options - Advanced - Network - Settings:

 network.proxy.type 0 | No proxy
 network.proxy.type 4 | Auto-detect proxy settings
 network.proxy.type 5 | Use system proxy settings

 network.proxy.type 1 | Manual proxy configuration
 network.proxy.http
 network.proxy.http_port
 network.proxy.share_proxy_settings | Use HTTP proxy server for all protocols
 network.proxy.ssl
 network.proxy.ssl_port
 network.proxy.ftp
 network.proxy.ftp_port
 network.proxy.socks
 network.proxy.socks_port
 network.proxy.socks_version 4 or 5
 network.proxy.socks_remote_dns false or true
 network.proxy.no_proxies_on | domain names separated by a comma and a space

 network.proxy.type 2 | Automatic proxy configuration
 network.proxy.autoconfig_url | Proxy autoconfiguration URL

 signon.autologin.proxy false or true | Do not prompt for authentication if password is saved
more options

I've tried this on a Mac and Windows with no luck.

I've created a text file called local-settings.js in "C:\Users\Kevin\AppData\Roaming\Mozilla\Firefox\Profiles\91e7yvh1.default". The file contents are:

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've also created the mozilla.cfg file in "C:\Program Files\Mozilla Firefox" with the content:

//

lockPref("network.proxy.http", "isaout.ucdmc.ucdavis.edu"); lockPref("network.proxy.http_port", 8085); lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, *.ucdavis.edu"); lockPref("network.proxy.type", 1);

On the Mac, I used the same file contents except I used the directories: /Applications/Firefox.app/Contents/MacOS/defaults/pref and /Applications/Firefox.app.

Can you tell me what I'm doing wrong?

/Kevin

Modificato da Kevin il

more options

Like the article says,

1. mozilla.cfg must be placed in the installation folder, e.g.

C:\Program Files (x86)\Mozilla Firefox\mozilla.cfg

2. local-settings.js must be placed in the defaults\pref subfolder of the installation folder, e.g.

C:\Program Files (x86)\Mozilla Firefox\defaults\pref\local-settings.js

On a Mac, right-click (or Control+click) the Firefox icon in the Applications folder and choose Show Package Contents. The equivalent paths should be

Firefox.app/Contents/MacOS
Firefox.app/Contents/MacOS/defaults/pref