Enable Anonymous Access for an FBA SharePoint Site

This is Part 3 in a 3 Part Series regarding the setup of SharePoint zones:

In the previous article, we setup FBA support for the default zone of a SharePoint site which was http://localhost:500.  Now we will enable a portion of the site for anonymous user access.

Confirm the Setup

  1. In SharePoint Central Admin, select Application Management.
  2. In the Application Security menu, select Authentication Providers.
  3. Select the Web Application (http://localhost:500) and click the zone that relates to FBA. In this case, it is the Default zone.
  4. Ensure that Enable Anonymous Access is checked.
    enableanon

Enable the Web Site For Anonymous Browsing

  1. In a Web Browser, sign-in to the FBA web site (http://localhost:500) with administrative credentials. Earlier, we setup the fbaadmin account.
  2. Select Site Settings from the Site Actions menu.
  3. Click Advanced Permissions.
  4. Select Settings from the menu bar and select Anonymous Access
    enableanon1
  5. Select “Entire Web Site” and click OK.
    enableanon2
  6. Click Sign out.

Guess what? You still have access to the site. It’s now been enabled for Anonymous Access at the site level. You can Sign in, by clicking the Sign In link at the top of the screen.

anonymous

Secure Part of the Site

Let’s lock down one part of the site, Shared Documents.

  1. Click Sign In and login as the fbaadmin account.
  2. Click the Shared Documents folder.
  3. Select Settings, the Document Library Settings.
  4. Click “Permissions for this Document Library”
  5. From the Actions menu, select Edit Permissions. The following pop-up appears.
    permission
  6. Click OK, to remove the inheritance of permissions.
  7. Select Settings, the Anonymous Access.
  8. On the next page, uncheck the View Items option. Click OK.
  9. From the top bar, select the option to Sign Out of the site.
  10. You will be redirected to the home page. Notice that the navigation quick launch no longer has the Document Library listed.
    permission2
  11. Login as fbaadmin, and notice that the link appears.

About the Author