是否可以禁用目录列表 [英] Is it possible to disable directory listing

查看:107
本文介绍了是否可以禁用目录列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





可以通过这种方式限制对Windows服务器2012上的共享文件夹的访问:

- 每个人都可以如果他知道确切的文件名和子目录,则读取文件

- 不允许共享文件夹中的目录列表

Hi,

is it possible to restrict access to a shared folder on a windows server 2012 this way:
- everyone can read files if he knows the exact filename and subdirectory
- directory listing within the shared folder is not allowed

推荐答案

从理论上讲,它可以完成。正如您可以阅读此处 [ ^ ] samba(共享)权限和ntfs权限无关。因此,如果你做出正确的组合,你就会得到你需要的东西。我需要进行一些调整,但你可以尝试使用XP及以上的任何PC,因为NTFS和Windows共享权限管理从那以后没有变化......

我看到,这是同样的问题: http://serverfault.com/questions/458611 / ntfs-share-allow-file-read-deny-list-folder [ ^ ]
Theoretically it can be done. As you can read here[^] samba(share) rights and ntfs rights are not related. So if you make the proper combination, you get what you need. I takes a little bit of tuning, but you can experiment on much any PC with XP and up, as NTFS and windows share rights management has not changes ever since...
As I see, this is much the same question: http://serverfault.com/questions/458611/ntfs-share-allow-file-read-deny-list-folder[^]


这篇关于是否可以禁用目录列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆