2008年8月4日 星期一

在 Firefox中使用NTLM Authentication的方法

NTLM authentication allows the login credentials of a Windows user, who is logged on into a domain, to be automatically passed to your browser.

NTLM is a Microsoft-developed protocol providing single sign-on capabilities to web applications. It allows a web server to automatically discover the username of a browser client when that client is logged into a Windows domain and is using an NTLM-aware browser. A web application can then reuse the user’s Windows credentials without having to ask for them again.

However, this only works for Internet Explorer. When using Firefox, you will be prompted with an authentication prompt where you can enter your username and password. In order to enable NTLM authentication also in Firefox, by doing the following steps:

  1. Type “about:config” in the address bar of Firefox
  2. You will see all settings of Firefox, but you need to find the key “network.automatic-ntlm-auth.trusted-uris”.
  3. Enter the hostnames like: “host1.domain.com, host2.domain.com” or just “.domain.com” to list them all at once

沒有留言: