Re: [PHP4BETA] Byte-coding or protecting

From: Date: Thu, 24 Feb 2000 09:29:49 +0000
Subject: Re: [PHP4BETA] Byte-coding or protecting
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-10811@lists.php.net to get a copy of this message
: > Is there a nice way to byte-code, to protect : > the source code in shared environments etc? : > : > In Perl, thanks to its CGI nature, I made a cute program : > which did a nice hack so that the script contents : > go to /usr/bin/perl and the program itself would : > be a ELF binary! (group member thinks its a C : > script, and don't bother with it!) ;-) But that didn't : > allow POST on the script :( : > : > Any ideas? : We have the same problem and we have decided that it's a better to make : library : for critical points of a code. So, these pieces of a code form : "library". : This library you'd disposed away from developpers'groups, so the only : admin can : W/R and the only apache's pseudo-user (e.g. apache or web) could read : this. : a kind of the following: : in a file : ... : <? include "$LIB/somesmartlib.lib"; ?> : ... : ls -l should show: : : -rw-r----- 1 byg apache 1175 Jan 5 16:01 somesmartlib.lib Actually there are a number of other places too where I would like to protect my code, and some sort of encryption is necessary! Is there any succesful implementation of PHP => C bridge? I see that php3 allowed -p option, is that secure enough? How can mod_php run a tokenized script? Is there any other secure way in PHP4? (PHP4 doesn't allow pre-tokenization of a script) Thank you! Faisal

« previous php.version4 (#10811) next »