Re: [PHP4BETA] Byte-coding or protecting

From: Date: Thu, 24 Feb 2000 09:18:28 +0000
Subject: Re: [PHP4BETA] Byte-coding or protecting
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-10808@lists.php.net to get a copy of this message
Faisal Nasim wrote: > > Hi, > > 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 -- WBR, Yury Bokhoncovich, SysAdmin at FIS.

« previous php.version4 (#10808) next »