SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a new site with a custom forms membership and role provider, and I need to allow anonymous users to visit the site (i.e. to browse around but not log in). This is a new SharePoint 2010 site running under claims authentication (obviously).

Problem I have is that despite allowing anonymous access in both central admin and site permissions, the user is auto redirected to the login page whenever they visit or try to move around the site. In fact, there seems to be a loop, as envisaged by the url below (for ease, I set the homepage to be the login page, as the login control is a web part on the homepage).


How do I configure a 2010 site to allow usage for anonymous users without forcing them to log in?

share|improve this question
up vote 1 down vote accepted

Fixed it. Even though Anonymous Access was set to the entire web site, the site was still throwing an access denied for a request for a resource from the local style library. Discovered this by trawling the sharepoint event logs, specifically for 'Access Denied' and 'Authenticate.aspx'. Code I had written would try to find a resource in the style library before checking the file system, so its possible the access denied was thrown because the file was not there, or because this library has its own permission structure. FML.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.