Posts

Showing posts from June, 2015

Accessing Application Page from SharePoint Anonymous Site

Image
We can access the Application page in SharePoint anonymous site. If we do the following changes in the Application page, SharePoint won’t ask for any credentials. ·          By default, the page is inherited from LayoutsPageBase. Change the inheritance from “ LayoutsPageBase ” to “ UnsecuredLayoutsPageBase ”. ·          Next, we need to override a property of the UnsecuredLayoutsPageBase, to allow the anonymous access. Be sure to change the ‘getter’ to return true protected override bool AllowAnonymousAccess { get { return true; } } Example : Reference: http://www.concurrency.com/sharepoint/allow-anonymous-access-to-sharepoint-application-pages-in-the-_layouts-directory/