How to log onto SharePoint server in IE and Firefox automatically without being asked Username and Password

Microsoft SharePoint Server 2007If you are hosting a SharePoint server on your own network within the same domain, you should be able to log onto the SharePoint team sites with your Windows credentials automatically in IE (Internet Explorer).

If not, just like it happened on some of my co-workers recently. The IE will ask you to enter Domain User Name and password whenever you hit the SharePoint team site or download documents from the SharePoint server. If you did not provide the correct logon credential, your IE browser screen will show the followings:

You are not authorized to view this page

You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web server is not configured to accept.


Please try the following:

  • Contact the Web site administrator if you believe you should be able to view this directory or page.
  • Click the Refresh button to try again with different credentials.

HTTP Error 401.2 – Unauthorized: Access is denied due to server configuration.

That means the IE did not pass the user’s windows log in credentials automatically to the SharePoint sites based on the IE’s security settings.

Here is the how-to to resolve this issue above:

1), In IE 7, click Tools then go to Internet Options.

2), Select the Security tab, and select or highlight Local Intranet in the Select a zone…. field; now click the Sites button right below the zone selection to open the Local Intranet prompt window.

3), On the Local Intranet windows, please make sure Automatically detect Intranet network checkbox has been checked (see the figure-1 below). If you can not see the Automatically detect intranet network option, then you can check all three options below (like, include all local… include all sites… and include all network… etc.)

4), Click OK to exit the Internet Option, and you should be OK to logon SharePoint sites automatically.

If not, then repeat the step 1-3, and click Advanced button to manually add the SharePoint site into your Intranet site list.
IE-Intranet

If you are using Firefox as your default browser, then either you get an IE tab add-on to view SharePoint sites in Firefox, or type your user name and password each time when you access to the SharePoint server.

There is a way thought to allow you to save your typed Windows credentials in Firefox to prevent you from repeatly typing the Windows user name and password.

  1. Enter “about:config” in the address bar of Firefox and hit [Enter]
  2. Do a search on “ntlm“, at least three entries should appear
  3. Double click the second entry and set the value of “network.automatic-ntlm-auth.trusted-uris” to “.yourdomain” (do not forget the dot).
  4. Restart your Firefox to let the change effective.
  5. And when you re-open the Firefox, you might be prompted with the following window.

Firefox Config

  • Share/Bookmark
Tags: , , ,

Related posts

1 Responses to “How to log onto SharePoint server in IE and Firefox automatically without being asked Username and Password”


Leave a Reply