Enabling anonymous access in SharePoint 2007

Even though Microsoft has done a great job on improving the user interface in SharePoint 2007, some things are still buried and require a little “black magic” to get done. In this entry I’ll show you how to enable anonymous access on your site.

First, you need to enable anonymous on the IIS web site (called a Web Application in SharePoint land). This can be done by:

  • Launching Internet Information Services Manager from the Start -> Administration Tools menu
  • Select the web site, right click and select Properties
  • Click on the Directory Security tab
  • Click on Edit in the Authentication and access control section

Instead we’ll do it SharePoint style using the Central Administration section:

  • First get to your portal. Then under “My Links” look for “Central Administration” and select it.
  • In the Central Administration site select “Application Management” either in the Quick Launch or across the top tabs
  • Select “Authentication Providers” in the “Application Security” section
  • Click on the “Default” zone (or whatever zone you want to enable anonymous access for)
  • Under “Anonymous Access” click the check box to enable it and click “Save”

NOTE: Make sure the “Web Application” in the menu at the top right is your portal/site and not the admin site.

You can confirm that anonymous access is enabled by going back into the IIS console and checking the Directory Security properties.

Now the second part is to enable anonymous access in the site.

  • Return to your sites home page and navigate to the site settings page. In MOSS, this is under Site ActionsSite SettingsModify All Site Settings. In WSS it’s under Site ActionsSite Settings.
  • Under the “Users and Permissions” section click on “Advanced permissions”
  • On the “Settings” drop down menu (on the toolbar) select “Anonymous Access”
  • Select the option you want anonymous users to have (full access or documents and lists only)

Now users without logging in will get whatever option you allowed them.

A couple of notes about anonymous access:

  • You will need to set up the 2nd part for all sites unless you have permission inheritance turned on
  • If you don’t see the “Anonymous Access” menu option in the “Settings” menu, it might not be turned on in Central Admin/IIS. You can manually navigate to “_layouts/setanon.aspx” if you want, but the options will be grayed out if it hasn’t been enabled in IIS
  • You must do both setups to enable anonymous access for users, one in IIS and the other in each site

Hope that helps!

Published Monday, September 25, 2006 7:43 PM by Bil Simser
Filed under:

Comments

# re: Enabling anonymous access in SharePoint 2007

Saturday, June 12, 2010 8:18 PM by cd smith

Excellent!! Just what I needed..Thanks.

# re: Enabling anonymous access in SharePoint 2007

Monday, June 14, 2010 4:33 PM by Mik Jr

Thanx, for the tip in Central Admin.  Choose your sites wisely.

# re: Enabling anonymous access in SharePoint 2007

Thursday, June 17, 2010 7:00 AM by k

Hi Bil,

I have created a blog in MOSS with anonymous access. I have also set anonymous access for the comments list but when I test the same I get a windows login popup to login to the application when I click on the submit button on the comments page.

I would be thankful if you can provide me a solution to this.

Thanks

# re: Enabling anonymous access in SharePoint 2007

Monday, March 21, 2011 10:39 AM by Steven Moye

Thanks, I made the change in IIS but it still wouldn't show up as an option within the site until I went through the Central Admin. Thanks for the tutorial.

# re: Enabling anonymous access in SharePoint 2007

Wednesday, December 28, 2011 7:41 PM by Suresh

Thank you so much...Saved me from banging my head... ;)

# re: Enabling anonymous access in SharePoint 2007

Friday, April 5, 2013 5:04 AM by jamalElMazouni

Hello;

I want to allow access to a Web "sharepointforum.dwp"

Thank you for your help