SharePoint 匿名访问不适用于列表中的 DispForm.aspx

发布于 2024-08-10 10:43:33 字数 683 浏览 9 评论 0原文

我有一个使用匿名访问的 MOSS 网站,它可以在我需要的任何地方工作,除了用于自定义列表的 DispForm.aspx 之外。

基本上有一个自定义列表,其中包含互联网上新闻文章的链接。我已将该列表作为 RSS 提要提供,您可以匿名调出该提要本身。但是,该源包含指向 SharePoint 中各个项目的链接,例如 /Lists/My List/DispForm.aspx?ID=23。

匿名用户对相关列表具有“查看项目”访问权限,NT AUTHORITY\经过身份验证的用户对列表和相关单个项目具有读取权限。我也尝试过完全控制。

我尝试在 web.config 中添加位置异常,即

    <location path="Lists/My%20List/DispForm.aspx">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>

但这似乎没有帮助。

我检查了 SharePoint 日志,出现以下错误:

PermissionMask check failed: asking for 0x00001000, have 0x00000000

I have a MOSS site that uses anonymous access, which works everywhere I need it except on DispForm.aspx for a custom list.

Basically there is a custom list containing links to news articles on the internet. I have made the list available as an RSS feed, and you can pull up the feed itself just fine anonymously. However, the feed contains links to the individual items in SharePoint, e.g. /Lists/My List/DispForm.aspx?ID=23.

Anonymous users have "view items" access to the list in question and NT AUTHORITY\authenticated users Read access to the list and to the individual items in question. I tried it with Full Control too.

I tried adding a location exception in the web.config, i.e.

    <location path="Lists/My%20List/DispForm.aspx">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>

But that doesn't seem to help.

I checked the SharePoint log and I have this error:

PermissionMask check failed: asking for 0x00001000, have 0x00000000

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

巴黎盛开的樱花 2024-08-17 10:43:33

这篇 office.microsoft.com 知识库文章解释了什么是需要在列表上启用匿名访问。您能否检查一下您是否已执行在列表或库上启用匿名访问部分中提到的所有操作?

PS 我投票结束这个问题,将其移至服务器故障,它所属的地方。

This office.microsoft.com knowledge base article explains what is need to enable anonymous acces on a list. Could you check if you have performed all actions mentioned under the Enable anonymous access on a list or library section?

P.S. I have vote to close this question by moving it to serverfault, where it belongs.

浴红衣 2024-08-17 10:43:33

我找到了解决方案。列表和文档库(例如 DispForm.aspx)中的 /Forms 下的页面似乎已针对匿名用户锁定,显然是默认情况下。这是通过名为 ViewFormPagesLockdown 的功能实现的。启用此功能后,无论您对列表本身拥有什么权限,匿名用户都无法访问这些页面。当它被停用时,您必须进入并分配匿名权限(在我的情况下,我很确定我已经在一个列表上启用了匿名访问,但我必须将其更改为其他内容(编辑),然后将其更改回来它开始工作)。

I found a solution. It seems that pages under /Forms in lists and document libraries (such as DispForm.aspx) are locked down for anonymous users, apparently by default. This happens through a feature called ViewFormPagesLockdown. When this feature is enabled, anonymous users cannot hit those pages no matter what permissions you have on the lists themselves. When it is deactivated, you have to go in and assign anonymous permissions (in my case I'm pretty sure I already had anonymous access enabled on one list, but I had to change it to something else (Edit) then change it back for it to begin working).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文