开发者

windows authenticated website prompt for firefox but doesn't for internet explorer

开发者 https://www.devze.com 2022-12-17 07:37 出处:网络
i added windows authentication on my website to track user names.For IE i开发者_运维问答t works fine and is seemsless but it prompts for windows login for user using firefox.any ideas?You\'ll need to

i added windows authentication on my website to track user names. For IE i开发者_运维问答t works fine and is seemsless but it prompts for windows login for user using firefox. any ideas?


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

  1. Open Firefox and type “about:config” in the address bar. (without the quotes of course)
  2. In the ‘Filter’ field type the following “network.automatic-ntlm-auth.trusted-uris”
  3. Double click the name of the preference that we just searched for
  4. 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
  5. Notice that you can use a comma separated list in this field.


  • Open Firefox
  • In the Address bar type about:config
  • In the search/filter field type ntlm
  • Set network.automatic-ntlm-auth.trusted-uris to .company_name.com
  • Set network.automatic-ntlm-auth.allow-non-fqdn to true by right-clicking and selecting "toggle"
  • In the search/filter field type negotiate
  • Set network.negotiate-auth.trusted-uris to .company_name.com
  • Set network.negotiate-auth.allow-non-fqdn to true by right-clicking and selecting "toggle"
  • Click OK if present
  • Restart Firefox.

From http://perfect-blog-url.blogspot.com/2013/07/firefox-asks-for-user-name-and-password.html


You have to add the hostname (URL) to the network.automatic-ntlm-auth.trusted-uris setting within about:config in Firefox.


Internet Explorer configuration:

  1. Tools -> Internet Options -> Advanced tab and check the “Enable Integrated Windows Authentication” check-box.

  2. Next, switch to the security tab and click Local Intranet -> Custom Level and select “Automatic log-on with current user name and password” (under User Authentication, Log-on).

  3. Click OK on all windows and restart Internet Explorer (close all IE windows and open it again).

Firefox configuration:

about:config and "network.negotiate-auth.trusted-uris" and ".example.com"


Windows authentication does not work for Firefox out of the box. You will need to do some additional steps. I'm not sure of the particulars as to how it happens, but your domain credentials are somehow given to the web server using IE.

0

精彩评论

暂无评论...
验证码 换一张
取 消