note 42178 added to security.filesystem

From: Date: Thu, 06 May 2004 13:59:53 +0000
Subject: note 42178 added to security.filesystem
Groups: php.notes 
Request: Send a blank email to php-notes+get-69279@lists.php.net to get a copy of this message
Common and simple way to avoid path attack is separating objectname and filesystem space when possible. For example if I have users on my site and directory per user solution is not "httpdocs/users/$login", but "httpdocs/users/".md5($login) or "httpdocs/users/".$userId ---- Manual Page -- http://www.php.net/manual/en/security.filesystem.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42178 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42178&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42178&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69279) next »