SharePoint - Allow Anonymous Access on a SharePoint Application Page

Normally SharePoint doesn't allow anonymous access to browse application pages.

By overriding the a property, you will be able to allow anonymous access on your SharePoint Application Page.

Below are the code lines that can help you:


protected override bool AllowAnonymousAccess
{
get
{
//  default it is set to false
return true;
}
}
    
Try closing your browser and reopenit, it will open the page publicly.

By
If you find the above link useful, let us know your feedback, it will help us to improve our posting(s). or You can send your feedback linkOblast.
Report Broken Link

No comments:

Post a Comment