1

在 apache 中,我可以限制用户列出目录的内容,还是说一旦用户被允许访问就没有什么可以限制他们下载内容?

4

1 回答 1

0
<Directory "c:/[your path]">

Order Allow,Deny
Allow from all

#Options Indexes

    <LimitExcept ALL>
         require user [your user]
    </LimitExcept>
</Directory>

如果没有Option Indexes文件 *.conf 中的 ,用户无法列出目录的内容。他们窃取可以访问文件的资源。

我想这是你要求的!

于 2014-05-20T14:16:52.257 回答