Feb 20, 2011

How To Allow Anonymous Access on a SharePoint Application Page

If you want to allow anonymous access on a SharePoint application page, simply override this property and return true:

protected override bool AllowAnonymousAccess
        {
            get
            {               
                return true;
            }
        }

Next time onwards you will be allowed to browse the page anonymously. This will be useful in sharing anonymous information with users. The best example would be to use a custom Sign/In page or something which you want unauthenticated users to access.

No comments:

Post a Comment