Enable Windows NTLM Authentication in Firefox

Windows NTLM (NT Lan Manager) is a Microsoft authentication protocol used with the SMB (Server Message Block) protocol.

A lot of the protocol was reverse engineered by the Samba team – the people behind the Samba server that allow UNIX machines to share files and printers with a Windows client.

NTLM Authentication is quite often used to authenticate a Windows domain user accessing an IIS web server within the same domain. Enabling automatic NTLM Authentication can be a very handy feature, especially in the workplace.

I use Firefox for almost everything at work and it gets quite annoying at times when Firefox popups a credentials prompt when an intranet site is authenticated via NTLM.

To automatically authenticate via NTLM using Firefox, follow the instructions below.

  1. Type about:config in the address bar of Firefox
  2. Search for the key network.automatic-ntlm-auth.trusted-uris. This is a comma and space delimited list of URLs that are allowed to automatically authenticate via NTLM
  3. Edit the key and add the list of sites that you want Firefox to perform automatic NTLM Authentication firefox ntlm

ibrahim = { interested_in(unix, linux, android, open_source, reverse_engineering); coding(c, shell, php, python, java, javascript, nodejs, react); plays_on(xbox, ps4); linux_desktop_user(true); }

« Previous Article
Next Article »