问题描述
大家好,
我有一个面向公众的SharePoint 2016 Web应用程序,用于匿名用户,这些用户可以查看主页和某些网站页面而无需登录,这些页面显示了一些信息和文档,但是存在问题.匿名用户可以查看所有网站内容 页面,然后他们就可以访问该网站的任何页面,列表和库.
I have public facing SharePoint 2016 web application for anonymous users who can view home page and some of site pages without login, these pages display some information and documents but there is an issue. Anonymous users are able view all site contents page and from there they are able to access any pages, lists and libraries of the site.
如何限制匿名用户的权限,以使他们看不到查看所有网站内容页面,列表表单页面和列表视图页面?
How to restrict permissions for anonymous users so that they can not see view all site content page, list form pages and list view pages?
注意:我有几个列表,匿名用户将需要在这些列表上添加列表项权限,因此在这些特定列表上,我已经相应地授予了权限,并且在网站级别上,我已经授予了权限匿名用户可以访问:列表和库.
Note : I have few lists on which anonymous user would require add list item permissions so on those specific lists i have given permission accordingly and at site level, i have given permission Anonymous users can access: Lists and libraries.
有人可以帮助我解决这个问题吗?
Can anyone help me in this issue?
此致.
推荐答案
尝试为此使用锁定功能.
检查SharePoint命令行管理程序启用的功能
- 获取功能-站点http://url
- 如果列出了ViewFormPagesLockDown,则会启用它.
将以下配置添加到web.config.
< 位置 路径 = " _ layouts " >
<locationpath="_layouts">
< system.web >
< 授权 >
< 拒绝 用户 = " ? " />
<denyusers="?" />
</ 授权 >
</ system.web >
</ 位置 >
此处是供您参考的链接.
最好的问候,
李
这篇关于如何为'_layouts/15/viewlsts.aspx'限制匿名用户的权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!