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

# Enabling anonymous access with SharePoint 2007

Monday, September 25, 2006 9:47 PM by SharePointKicks.com

You've been kicked (a good thing) - Trackback from SharePointKicks.com

# Anonymen Zugriff im MOSS aktivieren

Tuesday, September 26, 2006 6:42 AM by Sharepointers.de
Hallo zusammen, Bill Simser beschreibt in seinem Blog wie, der etwas kniffelige, anonyme Zugriff im MOSS

# re: Enabling anonymous access in SharePoint 2007

Tuesday, October 10, 2006 9:49 AM by Kanwal
You are now part of the BUZZ, Sharepoint BUZZ Visit http://www.sharepointbuzz.com

# More links on Anonymous access in MOSS 2007

Saturday, November 04, 2006 8:49 AM by All About SharePoint

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

...

# How to enable anonymous access for a top-level site and DISABLE anonymous access for a child site

Friday, May 18, 2007 10:07 AM by John's blog

My goal was to have a site collection such as sharepoint.mycompany.com with anonymous access so

# PLV’s Blog » Blog Archive » Enable Anonymous access into WSS 3.0

Pingback from  PLV’s Blog  » Blog Archive   » Enable Anonymous access into WSS 3.0

# SharePoint 3.0 ohne Anmeldung lesend zugreifen - MCSEboard.de MCSE Forum

Pingback from  SharePoint 3.0 ohne Anmeldung lesend zugreifen - MCSEboard.de MCSE Forum

# How to enable anonymous access for a site collection and disable anonymous access for child sites

Tuesday, July 10, 2007 8:20 AM by Real-World SharePoint Experiences by John Powell

<P>Here is the scenario: have a site collection such as <A href=" http://sharepoint.mycompany

# How to enable anonymous access for a site collection and disable anonymous access for child sites

Tuesday, July 10, 2007 8:22 AM by Real-World SharePoint Experiences by John Powell

Here is the scenario: have a site collection such as sharepoint.mycompany.com with anonymous

# How to enable anonymous access for a site collection and disable anonymous access for sub-sites

Tuesday, July 10, 2007 8:21 PM by Real-World SharePoint Experiences by John Powell

Here is the scenario: have a site collection such as sharepoint.mycompany.com with anonymous access

# TParker.net » Post Topic » The Truth Behind Anonymous Access in SharePoint 2007

Pingback from  TParker.net  » Post Topic   » The Truth Behind Anonymous Access in SharePoint 2007

# Great post on how to enable anonymous access in SharePoint 2007

Tuesday, October 02, 2007 10:04 PM by Derik Whittaker

I came across this great post on how to enable anonymous access in Sharepoint (MOSS) 2007 tonight. This

# Ghillie Suits » Enabling anonymous access in SharePoint 2007 - Fear and Loathing

Pingback from  Ghillie Suits » Enabling anonymous access in SharePoint 2007 - Fear and Loathing

# The Search Feature

Wednesday, January 30, 2008 4:51 PM by This End Up

I've been working on an Arena "search connector" control that talks with our Microsoft

# 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, June 15, 2011 12:11 AM by Vivek

I did all the steps for enabling anonymous access to my sharepoint site, but still this through this error 401 UNAUTHORIZED and pops up user id password screen. It was working fine till 3 days back. When we restored the root site collection this is started behaving like this.... :( any solution or suggestion will do great.

# 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... ;)

Leave a Comment

(required) 
(required) 
(optional)
(required)