Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I currently use openDNS to filter user's web requests however they can often bypass this filtering by finding a proxy server (not yet on the openDNS block list) and configuring firefox to use it. Is there anyway I can just lock firefox so this non-admin user can't switch to a proxy full stop? or perhaps somehow stop them using a proxy with iptables..

share|improve this question
up vote 1 down vote accepted

EDIT: Tested this on firefox 18. The *.js file name may be called all.js in older firefoxes. I'm not that familiar with firefox, that i could say if adding your own all.js would work too

create a text file containing :

lockPref("network.proxy.type", 1);
lockPref("network.proxy.http", "")
lockPref("network.proxy.http_port", 8080)
lockPref("network.proxy.share_proxy_settings", true)
lockPref("network.proxy.no_proxies_on", ",localhost")

The byteshift that file into mozilla.cfg with offset 13. Easiest is to use :

Then copy that mozilla.cfg into the directory where mozilla exe is located.

Then edit Mozilladir\defaults\pref\channel-pref.js

and add line

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

then reboot firefox

Editing the channel-pref requires opening as admin or giving r/w to standard users. You can edit several other configs like this. List found at: FAQs:_About:config_Entries">

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.