Geeks With Blogs

News These postings are provided "AS IS" with no warranties, and confers no rights.
Locations of visitors to this page virtusa corp sharepoint shehan peruma
Shehan Peruma


When you create a Publishing site that has anonymous access enabled, you will notice that anonymous users will not be able to access pages that reside in the “_layouts” virtual directory (e.g. http://siteX/_layouts/viewlsts.aspx). This is because the publishing infrastructure activates a hidden feature that prevents anonymous users from accessing these types of pages. However, if you were to create a site collection based of  Blank Site Template, you would notice that these pages are accessible by anonymous users.

The fix is quite simple. There is a hidden feature that you would need to manually activate via stsadm. The feature is called “ViewFormPagesLockDown” (and is available in the Features folders in the 14 hive)

To activate it:

stsadm -o activatefeature -filename ViewFormPagesLockDown\feature.xml -url http://ServerName

Once activated anonymous users will be promoted to enter credentials when they try to access form and application pages.

The feature can also be deactivated for publishing sites that have it automatically turned on.


Posted on Tuesday, December 7, 2010 5:46 AM Administration & Configuration , SharePoint 2010 | Back to top

Comments on this post: Prevent anonymous access to form and application pages in SharePoint 2010

# re: Prevent anonymous access to form and application pages in SharePoint 2010
Requesting Gravatar...
Fiber is an indigestible part of all plant foods. It is found in fruits, vegetables, grains and beans. Your digestive system cannot stomach fiber, so it is excreted

undigested. Well, you may think you don't need fiber, because it's excreted undigested, but that's not true.
Left by Fiber Rich Foods on Apr 22, 2011 1:36 PM

Your comment:
 (will show your gravatar)

Copyright © shehan | Powered by: