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?


1 Answer 1


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.


Your Answer

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

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