Enable/disable anonymous access for selected pages in SharePoint

It is well known that you can enable anonymous access in SharePoint at the site or list/library level. But what about enabling/disabling anonymous access to selected pages within the site? The problem is you can only have one Pages library per site, and all publishing pages must sit in that library. Therefore, if you enable anonymous access on the Pages library, all pages in that library will be accessible anonymously.

I have found that (in SharePoint 2013 at least), you can disable anonymous access for selected pages within a library that has anonymous access enabled at the library level. You do this by breaking permission inheritance on the page.

Below are the permissions for the page before breaking inheritance. Notice the entry for Anonymous Users.

1 Before

And now the permissions after breaking inheritance.

2 After

I have not tested this with list items, but I expect that it would work the same way.

 

Advertisements

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.
This entry was posted in Permission, SharePoint. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s