Lockdown Your Web Site For Anonymous Users
Need to open access to your SharePoint site for anonymous access, but don't want them browsing your lists and libraries? Just activate the lockdown feature!
Set your web site up for anonymous access in Central Admin under Authentication providers. The next step is to log on to your server and open up a command prompt so you can run a stsadm command.
If you haven't added it already then you need to make sure the path is set to include C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN.
Next run the command:
stsadm -o activatefeature -url-filename ViewFormPagesLockDown\feature.xml
Now you can go the permissions for your site and edit the permissions to allow access to the entire site. Your users will not be able to get to your lists and libraries to view what is in them, but you can still expose the items for users to get to through web parts on your pages.
One last thing to note is that if you already have anonymous access turned on to your site it will appear like this command does not work after your run it. You need to go to your site and turn off anonymous access and then turn it back on for it to work.
Good luck with your public sites!
Set your web site up for anonymous access in Central Admin under Authentication providers. The next step is to log on to your server and open up a command prompt so you can run a stsadm command.
If you haven't added it already then you need to make sure the path is set to include C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN.
Next run the command:
stsadm -o activatefeature -url
Now you can go the permissions for your site and edit the permissions to allow access to the entire site. Your users will not be able to get to your lists and libraries to view what is in them, but you can still expose the items for users to get to through web parts on your pages.
One last thing to note is that if you already have anonymous access turned on to your site it will appear like this command does not work after your run it. You need to go to your site and turn off anonymous access and then turn it back on for it to work.
Good luck with your public sites!
Comments