IIS - windows authentication in firefox - Asked By Jayanarayan on 23-Dec-11 12:05 AM

hi friends

i have enabled windows authentication in IIS 7.0. it work well when the site is opened in IE or Opera browser. It prompts for username and password. When the same site is being opened in Firefox it tells page cannot be displayed. it does not prompt for username and password. after searching in the web i added the following entry also in Firefox.

added the site name in network.automatic-ntlm-auth.trusted-uris of about:config ....

even then no result. kindly assist

with regards

M c Jayanarayan
Jitendra Faye replied to Jayanarayan on 23-Dec-11 12:08 AM

Fortunately Firefox has the slick ability to easily modify it's configuration to use Integrated Windows Authentication.

How to configure Firefox

  1. Open Firefox
  2. In the address bar type: about:config
  3. Firefox3.x and later requires you to agree that you will proceed with caution.
  4. After the config page loads, in the filter box type: network.automatic
  5. * Modify network.automatic-ntlm-auth.trusted-uris by double clicking the row and enter http://www.replacewithyoursite.com or http://your-intranet-server-name
  6. * Multiple sites can be added by comma delimiting them such as http://www.replacewithyoursite.com, http://www.replacewithyourintranetsite.com

Package for Large Installs

If you are a network administrator that has a lot of installs to do, you can modify the Firefox installer.

  1. Use a tool such as 7-zip to extract Firefox Setup 2.x.x.exe
  2. Extract browser.xpi from the setup
  3. Edit all.js contained in browser.xpi contained in binjreprefs
  4. Modify the entries as in items 4 and 5 above
  5. Re-package browser.xpi and use the extracted setup to install Firefox
Riley K replied to Jayanarayan on 23-Dec-11 12:13 AM


You'll need to enable NTLM authentication in Firefox. Instructions here.

  • Open Firefox and type “about:config” in the address bar. (without the quotes of course)
  • In the ‘Filter’ field type the following “network.automatic-ntlm-auth.trusted-uris”
  • Double click the name of the preference that we just searched for
  • Enter the URLs of the sites you wish to pass NTLM auth info to in the form of:http://intranet.company.com,http://email.company.lan
  • Notice that you can use a comma separated list in this field.Regards
Suchit shah replied to Jayanarayan on 23-Dec-11 12:31 AM

Firefox supports Kerberos, but, you have to tell it which domains it trusts to send the Kerberos tokens too.
 1.Open Firefox
 2.In the address bar type: about:config
 3.Firefox3.x and later requires you to agree that you will proceed with caution.
 4.After the config page loads, in the filter box type: network.negotiate-auth
 5.Modify network.negotiate-auth.trusted-uris by double clicking the row and enter yourdomain.com
 6.Multiple domains can be added by comma delimiting them such as yourdomain.com, yourotherdomain.com

Also, if you have already tried to authenticate through the stack in your current Firefox session, you will need to restart Firefox for this to work.

Asked By Jayanarayan on 23-Dec-11 01:32 AM
thank you friends for your replies

i have already tried adding in about:config. it works fine when i give server name instead of IP address..