Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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", "proxy.proxy.com")
lockPref("network.proxy.http_port", 8080)
lockPref("network.proxy.share_proxy_settings", true)
lockPref("network.proxy.no_proxies_on", "127.0.0.1,localhost")

The byteshift that file into mozilla.cfg with offset 13. Easiest is to use : http://www.alain.knaff.lu/howto/MozillaCustomization/cgi/byteshf.cgi

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">http://kb.mozillazine.org/Firefox_:FAQs:_About:config_Entries

share|improve this answer
add comment

Your Answer

 
discard

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.