Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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

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?

모든 댓글 (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

글쓴이 Kevin 수정일시

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