Automatic Windows Authentication with Firefox network.automatic-ntlm-auth.trusted-uris

One of the main reasons I don’t use Firefox in an Intranet environment, is due to the logon prompt from IIS Windows Authentication. I keep having problems with IE7 on Vista losing the auto-NTLM auth, where it asks for my password, when it’s supposed to just log me in based on my domain logon! ARgh! So I started Google-ing and found out that Firefox can do this too!!! I never knew that, in all these years of Firefox use!

You have to set which sites are allowed to do this though. But that’s fine, not like I login with NTLM all over the place, just a couple sites from the Intranet. Go to about:config in Firefox, lookup all the “network:auth” items and you’ll see this one:

network.automatic-ntlm-auth.trusted-uris

Open that, and enter the website address. (even port if needed) BAM! That’s it!

For example:

webapp.servername.local:8080

This will use automatic NTLM logons based on your windows logon. But note: I do not know if this works if your machine is not a member of a domain.

5 Responses to “Automatic Windows Authentication with Firefox network.automatic-ntlm-auth.trusted-uris”


  1. 1 Greg

    Someone left a comment and I think I bulk deleted it on accident. Whoever you are, sorry about that. If you like, post again, I’ll remove my comment.

    Anyway, your comment on adding multiple sites is a good point. So to add more than one site to this list, just use comma separated list. (site1.com, site2.net, etc)

  2. 2 Steve

    Where the heck is about:config? Firefox 2.0.

  3. 3 Greg

    about:config is like a Mozilla “registry” of settings builtin to it. You get to it by typing that directly in your URL address bar. Like you are browsing to it.

  4. 4 BOLL

    Oooh, this is nice :) Now I can use Firefox (without IEtab) for our company intranet! Thanks! I always, like you, assumed that automatic Windows Authentication was unavailable for Firefox :O

  5. 5 Jonix

    Quite important though, the comma seperated list is actually comma and space seperated. It didn’t work at first, until I put a space after the comma.

Leave a Reply