Tuesday, May 22, 2012

Turn on anonymous access in Application Pages SharePoint2010 Site collection

In side the Application Page .cs override following property 



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

and follow below steps one by one:



In this post, I would like to show you how to turn on anonymous access in SharePoint2010 Site collection using SharePoint Web UI. If you would like to achieve the same thing using PowerShell you can check this blog post here.
1. You need to go to Central AdminàManage Web Applications
2. Click Authentication provider
3. Click Default and Enable anonymous access
4. Go to your site collection and click on Site actions then click Site Permissions
5. Click on Anonymous Access
6. Select the Entire Web site and click OK.
7 Navigate to your site collection and boom you are all set for the anonymous access for your SharePoint site collection.

No comments:

Popular Posts