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?

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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