note 95608 added to security

From: Date: Tue, 12 Jan 2010 15:20:52 +0000
Subject: note 95608 added to security
Groups: php.notes 
Request: Send a blank email to php-notes+get-164877@lists.php.net to get a copy of this message
There seem to be two be two methods of preventing direct access to files suggested here: (1) scripts being stored above the document root and (2) htaccess controls Apparently either of these options might not be available on a given server. Is it sensible to apply both methods by default and is there any reason not to? Thanks, A. Noob ---- Server IP: 69.147.83.197 Probable Submitter: 87.194.16.131 ---- Manual Page -- http://www.php.net/manual/en/security.php Edit -- https://master.php.net/note/edit/95608 Del: integrated -- https://master.php.net/note/delete/95608/integrated Del: useless -- https://master.php.net/note/delete/95608/useless Del: bad code -- https://master.php.net/note/delete/95608/bad+code Del: spam -- https://master.php.net/note/delete/95608/spam Del: non-english -- https://master.php.net/note/delete/95608/non-english Del: in docs -- https://master.php.net/note/delete/95608/in+docs Del: other reasons-- https://master.php.net/note/delete/95608 Reject -- https://master.php.net/note/reject/95608 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#164877) next »