Simple Security Clarification
| From: | Andre Dubuc | Date: | Wed, 21 Aug 2002 12:11:05 +0000 |
| Subject: | Simple Security Clarification | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113423@lists.php.net to get a copy of this message | ||
In another thread [How do you protect individual files], Justin French stated:
"In real short, you want to store the files outside your htdocs root (so they
can't be served by http) . . ."
My PHP setup serves files from DOCUMENT_ROOT=/var/www/html. If I place files
in '/var/www/html/secure' would this provide any isolation for file access?
Am I correct in thinking that 'below' is not the same as 'outside' doc_root,
and that i this case, no protection would be afforded?
Tia,
Andre