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 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

The plumbing to handle anonymous/unauthenticated users already exists within 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:

Here's a security planning article from MSDN:

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.