ObjectSharp Blogs

You are currently viewing

Max Yermakhanov's Blog

The adventures of an IT professional in the world of developers


SharePoint public-facing website and Microsoft Office documents

When you have a public-facing site built using SharePoint technologies, opening Microsoft Office documents (Word, Excel, PowerPoint, Visio, etc.) stored on this website requires user to login. You can hit Cancel at the login prompt and still be able to see the document, but having a login prompt displayed to the Internet users, sort of defeats the purpose of having SharePoint-built public facing website with anonymous access turned on. This happens becuase Microsoft Office is closely integrated with MOSS or WSS 3.0 now, and MS Office is now able to recognize that the document is stored within SharePoint, so the appropriate SharePoint authentication/authorization tools kick in. This problem can be resolved mostly by implementing two simple steps (assuming you have already enabled anonymous access on SharePoint):

  1. Disable 'Client Integration' for the web application under Central Admin Home Page >> Application Management >> Authentication Providers
  2. Remove the OPTIONS verb from the <HTTPHandlers> registration line in web.config file


Related resources:

Comments

  • Kusala May 15, 2008 2:28 PM

    Thanks Max, its work for me. Thanks again

    Regards

    Kusala

  • Derek Hussey May 30, 2008 12:56 PM

    Thanks Max,  These steps fixed my issues with MS docs under SPS 3.0.

  • Harry June 10, 2008 11:25 AM

    Thanks for the info.

    One question, which web app's web.config do I need to modify? Central Admin? The one for the SharePoint app?

  • Bill September 28, 2008 5:28 PM

    Yeah, but that breaks all the integration - which is the point of having it in the first place.

  • Paul Grimley March 12, 2009 3:30 PM

    I am using an ISA Server with FBA and just removing the 'options' and enabling persistent cookies through ISA has solved the problem. Many Thanks

  • Tejas Jagtap July 14, 2009 7:20 AM

    I have done everything as you specified but when I disable the Client Integration in Central Admin Home Page >> Application Management >> Authentication Providers, it will not show the Documents option under New menu.

  • admin July 19, 2009 10:07 PM

    Tejas,

    Documents option is supposed to disappear from the menu as it's a part of client integration. When you disable client integration, you disable documents option ;)

    Max.

  • Amy March 6, 2010 11:29 AM

    removing OPTIONS verb from the <HTTPHandlers> is disabling Site-Administrations option in the Sharepoint desinger. We can not take site backup.

Leave a Comment

(required) 
(optional)
(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS