0

I am using SharePoint Server 2007 x64 and Windows Server 2008 x64. I have setup a site with template publishing portal. I have grant anonymous access to all the site.

My question is, if I create a new page, how do I grant permission to an anonymous user to access (read permission) the page? I got confused because for the permission setting of a page, a permission is set according to a user name (e.g. read permission for user "foo" of a page). Since anonymous user does not have a related "user name", how could I grant read permission to anonymous user?

BTW: I use Windows Forms authentication and Windows NTLM authentication for my sites.

2
  • Good questions George! Thanks for asking and welcome to the site!
    – Alex Angas
    Commented Nov 1, 2009 at 17:48
  • You are welcome Alex. I am from both Stack Overflow and Serverfault and I like the same style here. As I am new here, and if I break any rules here in the future, please let me know and I will correct.
    – George2
    Commented Nov 2, 2009 at 5:05

3 Answers 3

1

You shouldn't have to do anything except grant anonymous users access to the site. SharePoint should take care of the rest automatically.

If this isn't working for you, you may have a configuration issue. This blog post by Andrew Connell may help.

http://www.andrewconnell.com/blog/articles/HowToConfigPublishingSiteWithDualAuthProvidersAndAnonAccess.aspx

1
  • Hi Rob, I have a related question here, appreciate if you could take a look. :-)
    – George2
    Commented Nov 2, 2009 at 5:08
1

Also, note that IF you have any custom code (a webcontrol for example) that tries to perform some action that cannot be performed by anonymous users, you will be redirected to the login page (unless the code is wrapped in RunWithElevatedPrivileges).

Although I get the impression that you do not have any custom code, it's worth mentioning it. I have seen it a few times where developers develop custom webcontrols for a publishing site without turning anonymous mode on on their dev boxes. Later when anonymous access needs to be turned on and pages aren't being served as expected, they think it's a configuration issue, when in fact it's a code issue.

0

Well there are kind of two steps 1, Set Anonymous Access for the web application 2, Allow anonymous access within SharePoint itself.

Good post about it here:

http://weblogs.asp.net/bsimser/archive/2006/09/25/Enabling-anonymous-access-in-SharePoint-2007.aspx

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.