Office 文档提示登录匿名 SharePoint 网站 [英] Office documents prompt for login in anonymous SharePoint site
问题描述
我有一个配置为匿名访问的 MOSS 07 站点.此站点中有一个文档库,也启用了匿名访问.当匿名用户单击此库中的 PDF 文件时,他或她可以毫无问题地阅读或下载它.当用户单击 Office 文档时,他或她会收到一个登录框提示.用户可以在不输入登录信息的情况下取消此框,并将被带到文档.
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 on a PDF file in this library, he or she can read or download it with no problem. When a user clicks on an Office document, he or she is prompted with a login box. The user can cancel out of this box without entering a log in, and will be taken to the document.
这在 IE 中发生,但在 FireFox 中没有发生.
This happens in IE but not FireFox.
I see some references to this question on the web but no clear solutions: http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.sharepoint.windowsservices.development&tid=5452e093-a0d7-45c5-8ed0-96551e854cec&cat=en_US_CC8402B4-DC5E-652D-7DB2-0119AFB7C906&lang=en&cr=US&sloc=&p=1
http://www.sharepointu.com/forums/t/5779.aspx
http://www.eggheadcafe.com/软件/aspnet/30817418/anonymous-users-getting-p.aspx
推荐答案
要禁用从 SharePoint 2010 打开办公文档的登录提示,请在 web.config 中进行以下设置
To disable login prompt opening office documents from SharePoint 2010 do the following settings in web.config
<system.webServer>
<security>
<requestFiltering allowDoubleEscaping="true">
<!-- here's where the magic happens -->
<verbs allowUnlisted="true">
<add verb="OPTIONS" allowed="false" />
<add verb="PROPFIND" allowed="false" />
</verbs>
</requestFiltering>
</security>
</system.webServer>
这篇关于Office 文档提示登录匿名 SharePoint 网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!