Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 apache 中,我可以限制用户列出目录的内容,还是说一旦用户被允许访问就没有什么可以限制他们下载内容?
<Directory "c:/[your path]"> Order Allow,Deny Allow from all #Options Indexes <LimitExcept ALL> require user [your user] </LimitExcept> </Directory>
如果没有Option Indexes文件 *.conf 中的 ,用户无法列出目录的内容。他们窃取可以访问文件的资源。
Option Indexes
我想这是你要求的!