Re: Reading php source code?
| From: | Richard Lynch | Date: | Thu, 30 Aug 2001 08:32:55 +0000 |
| Subject: | Re: Reading php source code? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65216@lists.php.net to get a copy of this message | ||
Another user on the same shared server can probably work at it and manage to
read anything in your web-tree...
Stuff like database passwords should be moved to a directory not in your web
tree, and change your include_path to reach it -- It's still readable by
somebody who works at it, but not as easy.
If you have an algorithm that *MUST* stay secret, re-code it in C and
compile it into PHP, or use the Zend Encoder off-line to make a binary.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Seb Frost <seb@raceshoot.com>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Monday, August 27, 2001 7:56 PM
Subject: Reading php source code?
> How hard is it for someone to somehow read the source code out of my php
> files on my isp hosted website. They use linux & apache & php 4.0.6.
>
> I ask because in my logfile it seems someone accessed a uniquely named
> not-guessable folder in my web root. It is mentioned in my source code.
I
> use imagecreatefromjpeg on files in this directory. How can someone see
my
> folders if not by viewing my source code?
>
> - seb
>