HTACCESS Help Directories and Files
I am not familiar with the field at all, it's quite confusing.
- Block anything outside of root from being accessed (/ = OKAY /outside/ = BAD)
- Files cannot be accessed directly however they can be included (PHP)
I a开发者_运维知识库m not sure where to start but it's important that users can not access directories outside of the root folder, this only allows them to open index.php which will include the rest.
The problem I seem to have is not knowing what to search for, any help would be great. :)
To deny all requests for the restricted directory, prepare a .htaccess file for each directory and put the following directive in it:
deny from all
精彩评论