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'm jumping into SharePoint 2010 (first SP version for me) and I'm building some application pages. I'm trying to secure the pages by dropping a web.config in the dir with role authorization. Is this the proper way? What's the standard way to secure application pages?


share|improve this question
up vote 0 down vote accepted

From the remarks:

In general, use LayoutsPageBase as a base class for pages that should only be accessible to authenticated users with certain rights. For pages to which even unauthenticated users should have access, use the parent class UnsecuredLayoutsPageBase.

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.