Office documents prompt for login in anonymous SharePoint site

前端 未结 16 3921
耶瑟儿~
耶瑟儿~ 2021-02-07 13:57

I have a MOSS 07 site that is configured for anonymous access. There is a document library within this site that also has anonymous access enabled. When an anonymous user clicks

16条回答
  •  天命终不由人
    2021-02-07 14:38

    Check this : Remove Login box when anonymous users download office document from SharePoint Site

    http://www.theblackknightsings.com/RemoveLoginBoxWhenAnonymousUsersDownloadOfficeDocumentFromSharePointSite.aspx

    When developing Extranet/Internet site in SharePoint you often want to allow anonymous access and this works fairly well. But there is one are where the out of the box experience fails regarding anonymous access and that is when you allow the users to download Microsoft Office documents. In that case IE/Office pops up a couple of Login dialogs, if the user cancels out of these the document opens as expected, but you really don't want the user to have to cancel a couple of dialogs to open your documents

    The problem is that office tries to be intelligent and issues a Microsoft Office Protocol Discovery request to see how much the user is allowed to do, but SharePoint responds with access denied until the users logs in.

    The solution I've found is to implement a HttpModule which rejects the Microsoft Office Protocol Discovery request if the user isn't logged in and this gets rid of the Login boxes

提交回复
热议问题