目录列表安全
如果我网站的任何目录中有一些index.html\index.php..有什么方法可以让一些业余黑客获取该目录的目录列表并直接从该目录下载文件
if i have some index.html\index.php in any directory of my website.. is there any way that some amateur hacker can get the directory listing of that directory and directly download files from that directory
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于多种原因,取决于您的服务器配置。不要忘记,用户总是可以尝试暴力破解它(a.php、aa.php、aaa.php、b.php、ab.php...)
一般来说 - 不要依赖它。混淆不是安全。如果有人能做到,就假设他们会这么做。首先确保您不想下载的文件不可下载。
Depends on your server configuration for a variety of reasons. Don't forget that a user can always just attempt to brute-force it (a.php, aa.php, aaa.php, b.php, ab.php...)
In general - don't rely on it. Obfuscation isn't security. If someone -could- do it, assume they will. Make sure files you don't want downloading are not downloadable in the first place.