Saturday, September 29, 2012

Anonymous Site Access and Site Lockdown

If you need to lock down a SharePoint site collection for additions, but still allow updates and deletions, what do you do?


Use the following cmdlet in PowerShell:
Set-SPSite –Identity <SiteCollection> -LockState NoAdditions


If you setup anonymous access for a web app to the internet there is a way to lock down anon users from seeing allitems and editform pages while still letting them gain access to other areas.  What is this?

You must activate the ViewFormPagesLockDown feature:

To disable, run this Shell command:
$lockdown = get-spfeature viewformpageslockdown

disable-spfeature $lockdown -url http://sitecollectionURL

No comments:

Post a Comment