note 43240 added to security.hiding

From: Date: Tue, 15 Jun 2004 10:21:22 +0000
Subject: note 43240 added to security.hiding
Groups: php.notes 
Request: Send a blank email to php-notes+get-71084@lists.php.net to get a copy of this message
I´ve found an easy way to hide php code and the uri is searchable by google and others...(only for unix or linux) At first I have some rules in my hide.conf (i made an extra .conf for it (apache 2.0)) For example when I want to mask the index.php <Files index> ForceType application/x-httpd-php </Files> My problem is, that my code should be readable... so I made an extra folder for example srv/www/htdocs/static_output My phpcode is in the includefolder....(for ex. mnt/source/index.php) Then I made a link in the shell > ln mnt/source/index.php srv/www/htdocs/static_output/index So the code is readable (with .php extension) in my includefolder and there is only the link in the srv folder without extension(which is called by the browser...). ---- Manual Page -- http://www.php.net/manual/en/security.hiding.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43240 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43240&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43240&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#71084) next »