I have EasyPHP installed,I am considering following as root directory:
http://127.0.0.1/projects/Web%20Develop ... eus/files/
I want user to be restricted to this directory and not able to get access to directory named aureus.
I want all this configuration using .htaccess how can I do that?
Defence against dot dot slash or file path traversal attack.
Moderator: General Moderators
-
InfinitySignal
- Forum Newbie
- Posts: 1
- Joined: Sun Aug 04, 2013 10:33 am
Re: Defence against dot dot slash or file path traversal att
And you can't just change the root of the website to be that /projects/Web Development/aureus directory?
Try putting a .htaccess in the root (above projects/) that blocks access, like
and then put another in files/ with the opposite,
Try putting a .htaccess in the root (above projects/) that blocks access, like
Code: Select all
Order allow,denyCode: Select all
Order deny,allow