Advertisement
private775

Block Application pages and Form Pages in Sharepoint

Oct 2nd, 2018
985
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # http://geekswithblogs.net/GinoAbraham/archive/2011/11/03/block-application-pages-and-form-pages-in-sharepoint-2010.aspx
  2.  
  3. # Block Application pages and Form Pages in Sharepoint 2010
  4. # By default Sharepoint doesn’t blocks user with limited access from visiting application pages (for ex _layouts/viewlsts.aspx).
  5. # Someone who knows the URL, can go to this page.
  6. # We can avoid this by change the limited access to lockdown mode. Use the command below.
  7.  
  8.  
  9. # Turn on lockdown mode for a site collection
  10. stsadm -o activatefeature -url <site collection url> -filename ViewFormPagesLockDown\feature.xml
  11.  
  12. # Turn off lockdown mode for a site collection
  13. stsadm -o deactivatefeature -url <site collection url> -filename ViewFormPagesLockDown\feature.xml
  14.  
  15. # For more info on this visit http://technet.microsoft.com/en-us/library/cc263468(office.12).aspx#section6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement