Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I would like to catch anonymous users on our SharePoint 2010 site and automatically log them in as a single specific user. Any ideas?

I can currently intercept the Application_AuthenticateRequest method in the global.asax and from here I can determine if the user is authenticated using: Request.IsAuthenticated

share|improve this question

1 Answer 1

The plumbing to handle anonymous/unauthenticated users already exists within SharePoint...you don't need to re-create it by logging them in to what in affect would be another anonymous (...guest) account.

If you're going to log anonymous users in to let them access the site then just enable anonymous access and go thru and grant them access to the pages, lists, and other site assets you want them to view.

Here's an article on how to set it up: http://blog.drisgill.com/2009/11/sp2010-branding-tip-9-turn-on-anonymous.html

Here's a security planning article from MSDN: http://technet.microsoft.com/en-us/library/cc288189.aspx

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.