Answer the question
In order to leave comments, you need to log in
How to deny access to the folder which is above?
Let's say there is a folder called "here" and located at the address site/something/somewhere/here
There are files in the "here" folder. Including a very vulnerable program. How to make it so that it is not possible to access the folders located above the "here" folder - namely, the "something" "somewhere" and "parent directory of the site" folders
Answer the question
In order to leave comments, you need to log in
If I understood the task correctly, then we put the “vulnerable program” somewhere in a virtual machine, which, it’s not a pity, with its own web server, and broadcast requests to it with a curl.
But the answer is very approximate, since it is completely unclear from the question who needs to be protected from whom. It seems that both the author and the answerers have a hard time distinguishing a website visitor from the server account under which the web server is running.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question