Mike Petersen
Network Admin, Programmer, Technical Writer, SuSE Linux Fan, etc.
Skip navigation.
Google
 

Deploying Suse Linux Enterprise Server

Kixtart Scripts

Firefox Lockdown Instructions

This page shows how to easily lock-down Mozilla Firefox's Settings before you deploy the app with my Deployment Utility. These instructions are based on Chris LLias's Blog entry about Locking Down Firefox.

  1. Edit the file "Mozilla Firefox\greprefs\all.js" and add the following to the end of it:
  2. pref("general.config.filename", "mozilla.cfg");
  3. Create a new file called "mozilla.txt" and add any lockdown settings you want, an example is:
  4. //
    lockPref("app.update.enabled", false);
    lockPref("network.proxy.type", 0);
    lockPref("browser.startup.page", 1);
    lockPref("browser.startup.homepage", "http://www.google.com/");

    You can find more options to lockdown below, or you can browse the "about:config" page to find more settings to lockdown.

  5. Now, you must "encode" the "mozilla.txt" file into a "mozilla.cfg" file. To do this use the application located here, or even easier is the online converter located at:
    http://www.alain.knaff.lu/%7Eaknaff/howto/MozillaCustomization/cgi/byteshf.cgi.
  6. Finally, put the new "mozilla.cfg" file into the "Mozilla Firefox" directory. Now you are ready to deploy Firefox with the appropriate settings "Locked-Down".

Firefox Lockdown Settings

There are many ways to find various settings you can lock down within firefox. The most thorough way is to simply browse through the "about:config" page within Firefox. A few settings not readily apparent is the ability to disable extensions and themes, you can do this by setting the following:

lockPref("config.lockdown.disable_extensions", true);
lockPref("config.lockdown.disable_themes", true);

Also, if you want to disable the ability to access the "about:config" page you must copy this file into the "Mozilla Firefox\components\" directory.

To lock down basic settings, here is a list of the settings available through the "Options" Dialog (Current with Firefox 2.0.0.6). Remember, there are quite a few more available through the "about:config" Firefox page, but these should get you started.

Main Tab

Firefox Options - Main Tab

Tabs Tab

Firefox Options - Tabs tab

Content Tab

Firefox Options - Content Tab

Privacy Tab

Firefox Options - Privacy tab

Security Tab

Firefox Options - Security tab

Advanced Tab

Firefox Options - Advanced tabs

Back to Kixtart Scripts Home

Website Powered by SuSE Linux Enterprise Server.

Valid XHTML 1.0!

Valid CSS!

© Website Copyright 2006 - Mike Petersen - Verbatim distribution permitted