Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Disable private mode

more options

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?

Alle svar (12)

more options

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.

more options

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.

more options

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/

more options

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?

more options

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/

more options

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:

more options

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!

more options

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.

more options

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);
more options

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"

more options

Did you look at the CCK2 extension?

more options

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