February 8, 2008

How-To: Implement Lock Down on a Site Collection

I really like the STSADM tool. There is so much you can do this. You can implement the lockdown feature on a Site Collection using the STSADM tool.

Why do you want to implement lockdown? Because if you have enabled anonymous users on your site collection, then they can access ALLITEMS.ASPX pages of the lists within your site collection.

Here is the STSADM command:

stsadm

-o activatefeature

-url http://yoursitecollection/

-filename ViewFormPagesLockDown\feature.xml

Note: The MSDN documentation states that this feature is automatically enabled for sites created using the Publishing Portal template.

No comments: