D
D
Dmitry Khaperets2014-02-25 07:24:00
PHP
Dmitry Khaperets, 2014-02-25 07:24:00

Apache: how to secure the file system?

There is a server on which the site.com domain is located in the /home/site.com directory.
There are subdomain directories inside /home/site.com (www, test, etc.)
Question: Is it possible to make it so that using PHP it is forbidden to "go" one level higher outside the /home/site.com/subdomain folder or /home/site.com for executables that are inside this domain or subdomains?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FanatPHP, 2014-02-25
@Khaperets

open_basedir

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question