windows authenticated website prompt for firefox but doesn't for internet explorer
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.
- 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.
- 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:
Tools -> Internet Options -> Advanced tab and check the “Enable Integrated Windows Authentication” check-box.
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).
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.
精彩评论