ViewFormPagesLockDown is a SharePoint Feature (not in WSS) that helps us in:
- Allows anonymous users to only view the Publishing pages, not any of the form or view pages (DispForm.aspx, AllItems.aspx)
- Disallows anonymous access to pages in the _layouts directory that inherit from LayoutsPageBase.
By default, all publishing sites have the feature called ‘ViewFormPagesLockdown’ activated, but not on the Collaboration Portal site or Team site definitions. Without this feature active on anonymous public sites, any users – including search engines like Google will be able to view (and crawl) SharePoint out-of-box pages which are tied to lists and webs that allow viewing by anonymous users.
Yes, These users might not have the ability to do anything, but you may not want anonymous users to view the form pages.
If you want to place your custom application pages inside the _layouts directory, which anonymous users must hit, there’s the UnsecuredLayoutsPageBase class you can use as the base class of your page, and there’s always just the Page class as in a standard ASP.Net application page.
To Activate the Feature using STSADM: stsadm -o activatefeature -url -filename ViewFormPagesLockDown\feature.xml
If you still get the Form pages visible for the end users, Try: With the ViewFormPagesLockDown feature Enabled, disable Anonymous Access in the site, then re-enable it.
MSDN Link: https://technet.microsoft.com/en-us/library/cc263468(office.12).aspx
In SharePoint 2016 and SharePoint Online viewformpageslockdown feature is renamed to “Limited-access user permission lockdown mode Feature“