RE: [PHP-DB] how to hide source code??
| From: | USA) | Date: | Thu, 29 Aug 2002 19:30:44 +0000 |
| Subject: | RE: [PHP-DB] how to hide source code?? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21458@lists.php.net to get a copy of this message | ||
The last idea is good, but it certainly is an excessive amount of effort. I've been coding PHP
since 1998 and I have yet to need to build my own module. My goal with encryption would be to keep
the average person out of the source code. I imagine if PHP were to allow for encrypted code within
a month there would be a downloadable decrypter somewhere to be found. :-\
<>< Ryan
-----Original Message-----
From: Mateus Cordeiro Inssa [mailto:mateus@hyperdrive.com.br]
Sent: Thursday, August 29, 2002 1:26 PM
To: php-db@lists.php.net
Subject: RE: [PHP-DB] how to hide source code??
Em Qui, 2002-08-29 às 16:05, Adam Williams escreveu:
> oh yeah duh me, set it 701
>
> Adam
>
> On Thu, 29 Aug 2002, Ryan Jameson (USA) wrote:
>
> > Wouldn't that make php unable to read it as well? Then it is useless as well.
Oh, please, setting "x" bit will permit what ? PHP has to READ the
file to execute it.
And, if the admin has root privileges, what you can do to prevent him
to view the file (a plain text php file) ?
One simple thing to do is to make the source so difficult to
understand that people would consider it unreadable. I think the right
term is to obfuscate the code. There is programs to do this to C, Perl,
Tcl, etc., but I don't know if there is one for PHP.
Encryption is not enough because PHP would need to decrypt it.
Hmm, and if you make a PHP module (binary) and use its functions from
the PHP plain text file ?
--
Mateus Cordeiro Inssa
------------------------
mateus@hyperdrive.com.br
Hyperdrive Sistemas