If you developed an internet-facing website, you may have noticed that you’re SharePoint Forms pages are also accessible to anonymous users. For instance, http://your_domain/_layouts/viewlsts.aspx, etc. Normally we don’t want this, so, in order to block users  from accessing these pages, we need to activate a feature called “ViewFormPagesLockDown”.

Activate Feature:
stsadm -o activatefeature -url http://your_server:port -filename ViewFormPagesLockDown\feature.xml

Deactivate Feature:
stsadm -o deactivatefeature -url http://your_server:port -filename ViewFormPagesLockDown\feature.xml

 

Leave a comment