5

I want to open the site up for public viewing, which I've done by going Site Permissions -> Anonymous Access -> Entire Web Site

The problem is, I have some sub-sites because I wanted a drop down navigation, but none of those can be accessed anonymously - they don't show in the navigation area, and if I try to go directly to a page when not logged on, it'll ask for login details and then throw up a '401 UNAUTHORIZED' error.

I've tried going into the permissions of the sub-site, and it says it's inheriting permissions from the parent site, but it mentions nothing about anonymous access! :(

Any help would be much appreciated, thank you

1 Answer 1

5

This is typical when the site collection is a publishing site.

Check out http://blogs.msdn.com/b/russmax/archive/2010/01/22/lockdown-mode-in-sharepoint-2010.aspx

To determine if a site has ViewFormPagesLockdown enabled run the following:

get-spfeature -site http://sitecollectionURL

If ViewFormPagesLockDown is listed, it's enabled.

To toggle lockdown mode to off:

$lockdown = get-spfeature viewformpageslockdown

disable-spfeature $lockdown -url http://sitecollectionURL

If anonymous is already setup, you may need to disable\re-enable anonymous on the site.

HTH

4
  • Many thanks both for this, I've never used STSADM/Powershell (I only have design access) but will look into it and can hopefully turn this feature off. Thanks again
    – xn dx
    Commented Oct 11, 2011 at 17:28
  • i have the same problem as well. When i create the web application the anonymous access was enabled only to the top level site. I did what the answer suggests, however i still have my subsites locked from anonymous access. The web application also uses claims based authentication. Could this be affecting it, because in another web application with windows only authentication, the solution worked just fine... Thanks in advance Tolis
    – user6637
    Commented Feb 28, 2012 at 9:10
  • I did what the answer suggests, but still same problem. Any Solution? Thanks
    – Feroze
    Commented Apr 10, 2012 at 7:04
  • @Feroze please post a new question for your problem, it'll give it the attention it deserves Commented Apr 10, 2012 at 12:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.