开发者

Setting chmod for folders + index.html

I am finishing up a small web-platform I have been doing in my spare time and am going to add a run once script that is executed at creation for each new webpage. The script will run code to restrict ftp access so that people cannot download the ftp includes, some of which contain sql details.

What I was wondering was if adding blank index.html pages to subfolders is a viable secondary measure to prevent people from opening folder listin开发者_运维问答gs where they can download said files, or if it's easily bypassed?

Any help is appreciated


It sounds like you want to use the .htaccess files. Have you already tried and is this something that you cannot do that way? I am going to take a guess that you are using Apache...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜