Anonymous Access T08 Paul Stork

13
Anonymous Access Everything you always wanted to know, but didn't know to ask Paul Papanek Stork, SharePoint Server MVP, MCT, MCSE+I, MCSA, MCSD, MCDBA, MCITP, MCPD [email protected]

description

Anonymous Access: Everything you always wanted to know, but didn't know to ask Enabling Anonymous Access in SharePoint isn’t just a matter of flipping a switch in IIS manager. Anonymous Access must be enabled in IIS and then configured in SharePoint. But there are also situations where this basic configuration isn't sufficient. In this talk we’ll review how to enable and configure anonymous access for SharePoint web sites, lists, and libraries. Then we'll turn our attention to strategies that can be used overcome specific problems with SharePoint anonymous access. We'll demonstrate solutions and workarounds for questions like: 1) How do you require authentication for some items while maintaining anonymous access for the rest? 2) What content from a personal MySite can be accessed via anonymous access? 3) How do you enable anonymous responses to a discussion list? 4) Can BLOGS and Wiki sites be used in an anonymous access site collection?

Transcript of Anonymous Access T08 Paul Stork

Page 1: Anonymous Access T08 Paul Stork

Anonymous Access

Everything you always wanted to know, but didn't

know to ask

Paul Papanek Stork, SharePoint Server MVP, MCT, MCSE+I, MCSA, MCSD, MCDBA, MCITP, [email protected]

Page 2: Anonymous Access T08 Paul Stork

About the Speaker…

• Paul Papanek Stork, MVP, MCT, MCSE+I, MCSA, MCSD, MCDBA, MCITP, MCPD– Senior Instructor/Consultant at Mindsharp– http://www.mindsharp.com– [email protected]– Contributing Author, Developer’s Guide to Windows

SharePoint Services 3.0 & Microsoft Office SharePoint Server 2007 Best Practices

– Author, upcoming October 2009MCTS: Windows SharePoint Services 3.0 Configuration Study Guide (70-631) by Wiley

Page 3: Anonymous Access T08 Paul Stork

Agenda

• Configuring Anonymous Access• How Anonymous Access Works• Advanced Configuration• Problem Workarounds• Unresolved Problems

Page 4: Anonymous Access T08 Paul Stork

Basic Configuration

• IIS Configuration– Turn on in IIS manager or Central Admin

• Web Site– Choose Entire Web (Read Only)– Lists and Libraries

• Lists and Libraries– View Only for Libraries– Add, View, Edit, and Delete for Lists

Page 5: Anonymous Access T08 Paul Stork

How It Works

• Does not use IUSR_computername account• Uses Limited Access permission level• Potential problems (example Search Results

page)– Inheriting from LayoutsPageBase prevents

non-authenticated access– ViewFormPagesLockdown Feature prevents access

to _Layout pages like AllItems.aspx– Anonymous Access permissions granted to users on

All Zones

Page 6: Anonymous Access T08 Paul Stork

DemoCONFIGURING ANONYMOUS ACCESS

This demo will explore the basic techniques used for configuring anonymous access. We will also look at some of the potential problems.

Page 7: Anonymous Access T08 Paul Stork

Advanced Configuration

• Securing specific files in an anonymous access site.

• Enabling Browsing and Read/Write access to anonymous lists.

• Verifying security on 12 hive files

Page 8: Anonymous Access T08 Paul Stork

Requiring Authentication for Specific Files

• Anonymous Access not configurable at the List Item or File level

• List Items and Files INHERIT permissions from Lists or Libraries

• Breaking Inheritance will require Authentication to access the List Item or File

Page 9: Anonymous Access T08 Paul Stork

Write Access to Lists

• Lists and Libraries doesn’t allow access to root URL

Solution:1. Configure Web Access First2. Break Inheritance on List/Library3. Configure List Anonymous Access

Page 10: Anonymous Access T08 Paul Stork

Security on 12 hive files

• Turn off ViewFormPagesLockdown Feature• UnsecuredLayoutsPageBase class– Abstract class– Create inherited class for custom pages

Page 11: Anonymous Access T08 Paul Stork

DemoADVANCED CONFIGURATION

TECHNIQUES

This demo will explore some of the advanced configuration techniques available when configuring anonymous access in SharePoint.

Page 12: Anonymous Access T08 Paul Stork

Problem Work Arounds

• Access to _Layouts pages– Remove Inherits= – Subclass UnsecuredLayoutsPageBase

• Anonymous Access MySite– Grant Anonymous Access to child site of MySite

• Declarative (SPD) Workflows (post SP1)– Submission by eMail fires workflow

• BLOG comments– Codeplex

Anonymous Comment Feature for SharePoint Blog

Page 13: Anonymous Access T08 Paul Stork

DemoPROBLEM WORKAROUNDS

This will demonstrate some of the potential workarounds for problems encountered when configuring anonymous access.