note 18529 added to function.fopen
| From: | webmaster at webmaid dot de | Date: | Sat, 26 Jan 2002 15:48:20 +0000 |
| Subject: | note 18529 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25848@lists.php.net to get a copy of this message | ||
Why not adding a support to the fopen_wrappers to use the DocumentRoot or the VirtualDocumentRoot
(mod_vhost_alias) of the Apache settings as the open_base_directory. This would make the whole
security thing a lot easier, doesn't it ?
Every User should only be allowed to open the Files stored in his Directory - this should be the
most common way of doing it.
What do you think ?
--
http://www.php.net/manual/en/function.fopen.php
http://master.php.net/manage/user-notes.php?action=edit+18529
http://master.php.net/manage/user-notes.php?action=delete+18529
http://master.php.net/manage/user-notes.php?action=reject+18529