X
Tap here to go to the mobile version of the site.

Support Forum

Disable private mode

Posted

Hi guys!! I'm a network admin, of thousand computers running Mozilla Firefox. Yesterday I discovered that users are using "private mode" to bypass/cheat my proxy rules, and them can access porn, chat and others sites.

I've tried use GPO's of Firefox, Install extension by command line, but this ways not works fine...

How can I disable private mode in my enviroment?

Hi guys!! I'm a network admin, of thousand computers running Mozilla Firefox. Yesterday I discovered that users are using "private mode" to bypass/cheat my proxy rules, and them can access porn, chat and others sites. I've tried use GPO's of Firefox, Install extension by command line, but this ways not works fine... How can I disable private mode in my enviroment?

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36

More Information

FredMcD
  • Top 10 Contributor
4254 solutions 59584 answers

There is no change in Firefox that can't be undone when Firefox is in Safe Mode. This a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).


There are free programs available on the web to block access to 'bad' websites.

There is no change in Firefox that can't be undone when Firefox is in '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode%20Safe%20Mode Safe Mode]'''. This a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes). ----------- There are free programs available on the web to block access to 'bad' websites.
jscher2000
  • Top 10 Contributor
8758 solutions 71658 answers

I don't understand how a private window could bypass a proxy; connection settings should remain unchanged. There may be a problem with your proxy configuration.

I don't understand how a private window could bypass a proxy; connection settings should remain unchanged. There may be a problem with your proxy configuration.
jscher2000
  • Top 10 Contributor
8758 solutions 71658 answers

Also, you may want to look into OpenDNS as a supplemental security and filtering service. This assumes you don't allow DNS queries to other servers to bypass OpenDNS...

https://www.opendns.com/enterprise-security/

Also, you may want to look into OpenDNS as a supplemental security and filtering service. This assumes you don't allow DNS queries to other servers to bypass OpenDNS... https://www.opendns.com/enterprise-security/

Question owner

Cause my proxy use windows integrated authentication, I have no idea of the real reason of this behavior.

Considering a corporate environment, "private mode" should be controller by system admin, and not by user, I do this in chrome and IE. Is possible in Mozilla Firefox?

Cause my proxy use windows integrated authentication, I have no idea of the real reason of this behavior. Considering a corporate environment, "private mode" should be controller by system admin, and not by user, I do this in chrome and IE. Is possible in Mozilla Firefox?
jscher2000
  • Top 10 Contributor
8758 solutions 71658 answers

Helpful Reply

You may want to look at this tool:

https://mike.kaply.com/cck2/

And the mailing list mentioned on this page:

https://www.mozilla.org/firefox/organizations/

You may want to look at this tool: https://mike.kaply.com/cck2/ And the mailing list mentioned on this page: https://www.mozilla.org/firefox/organizations/
cor-el
  • Top 10 Contributor
  • Moderator
17526 solutions 158458 answers

You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.

A local-settings.js file needs to be placed in the "defaults/pref" folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

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

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

The mozilla.cfg file needs to start with a comment line (//).

See Configuration:

See also:

You can use the <u>mozilla.cfg</u> file in the Firefox program folder to set or lock preferences and run privileged JavaScript code. A <u>local-settings.js</u> file needs to be placed in the "defaults/pref" folder where also the channel-prefs.js file is located to specify using mozilla.cfg. pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0); These functions can be used in the mozilla.cfg file: defaultPref(); // set new default value pref(); // set pref, allow changes in current session lockPref(); // lock pref, disallow changes The mozilla.cfg file needs to start with a comment line (//). See Configuration: *https://developer.mozilla.org/en-US/Firefox/Enterprise_deployment See also: *http://kb.mozillazine.org/Locking_preferences *http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/

Question owner

I've do this

In my local-settings.js pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg"); located in folder C:\Program Files (x86)\Mozilla Firefox\defaults\pref

It's my mozilla.cfg // lockPref("privacy.donottrackheader.enabled", false);

Located in folder C:\Program Files (x86)\Mozilla Firefox

Private mode still works!

I've do this In my local-settings.js pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg"); located in folder C:\Program Files (x86)\Mozilla Firefox\defaults\pref It's my mozilla.cfg // lockPref("privacy.donottrackheader.enabled", false); Located in folder C:\Program Files (x86)\Mozilla Firefox Private mode still works!
jscher2000
  • Top 10 Contributor
8758 solutions 71658 answers

Helpful Reply

douglasfilipe said

lockPref("privacy.donottrackheader.enabled", false);

Located in folder C:\Program Files (x86)\Mozilla Firefox

Private mode still works!

The "Do Not Track" header is a checkbox in the privacy settings. It is not related to private browsing.

''douglasfilipe [[#answer-889320|said]]'' <blockquote> lockPref("privacy.donottrackheader.enabled", false); <br><br> Located in folder C:\Program Files (x86)\Mozilla Firefox <br><br> Private mode still works! </blockquote> The "Do Not Track" header is a checkbox in the privacy settings. It is not related to private browsing.
cor-el
  • Top 10 Contributor
  • Moderator
17526 solutions 158458 answers

Locking this pref could have some effect, but probably won't help when a command line switch (-private) is used.

  • lockPref("browser.privatebrowsing.autostart", false);
Locking this pref could have some effect, but probably won't help when a command line switch (-private) is used. *lockPref("browser.privatebrowsing.autostart", false);

Question owner

jscher2000 said

douglasfilipe said
lockPref("privacy.donottrackheader.enabled", false);

Located in folder C:\Program Files (x86)\Mozilla Firefox

Private mode still works!

The "Do Not Track" header is a checkbox in the privacy settings. It is not related to private browsing.

Yes, I wanna disable "private mode" not "do not track me"

''jscher2000 [[#answer-889352|said]]'' <blockquote> ''douglasfilipe [[#answer-889320|said]]'' <blockquote> lockPref("privacy.donottrackheader.enabled", false); <br><br> Located in folder C:\Program Files (x86)\Mozilla Firefox <br><br> Private mode still works! </blockquote> The "Do Not Track" header is a checkbox in the privacy settings. It is not related to private browsing. </blockquote> Yes, I wanna disable "private mode" not "do not track me"
cor-el
  • Top 10 Contributor
  • Moderator
17526 solutions 158458 answers

Did you look at the CCK2 extension?

Did you look at the CCK2 extension?

Question owner

cor-el said

Did you look at the CCK2 extension?

Yes I did, but, how can I install extension in five hundred machines? Manually is impossible

''cor-el [[#answer-890194|said]]'' <blockquote> Did you look at the CCK2 extension? </blockquote> Yes I did, but, how can I install extension in five hundred machines? Manually is impossible