Anonymous access to Lists in MOSS

I spent a little time today trying to figure out why I could not grant anonymous access to a list in Sharepoint.  I tried just about everything I could trying to track down why I was continually being prompted for authentication each time I connected.

My first guess would have been an IIS issue, however I was not getting an IIS 401 error, I was getting a Sharepoint 401 error.  So that ruled out IIS pretty quickly, also the fact that the rest of the site was working anonymously was indicating obviously that it was working.

I really couldn’t understand why when I clearly had anonymous access enabled I was being continually prompted for authentication.  It turns out this is a sharepoint feature (literally here, its a feature, as in XML and in the features folder) called “Lockdown”.

What it appears to do is severely reduce the granularity that permissions can be assigned to objects, such as lists.

To turn it off just run this command :

stsadm -o deactivatefeature -url http://www.website.com -filename ViewFormPagesLockDown\feature.xml

Then go back to your list, and remove the permissions for anonymous access, then readd them.  This will force a reset of the granular permissions that have been defined.

You should now be able to acccess the list with anonymous auth.

Naturally, after finding the problem and the solution, I was able to find a technet article on it.  Tap ViewFormPagesLockDown\feature.xml into goolge and a technet KB comes up immediately.  http://support.microsoft.com/kb/927082

Advertisements

One Response to Anonymous access to Lists in MOSS

  1. Pingback: Anonymous Form Submission with SharePoint 2010 « Mark Rhodes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: