Re: How to encrypt php source code.

From: Date: Mon, 08 Jan 2001 05:59:08 +0000
Subject: Re: How to encrypt php source code.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-33188@lists.php.net to get a copy of this message
On Mon, Jan 08, 2001 at 04:34:09PM +1100, Angus Mann wrote: > At 12:47 08/01/01 +0800, you wrote: > >Dear Sir / Madam, > > > >Isn't it posible for a PHP user to encrypt their source code, and the > >encrypted codes still can run on Linux server? > > > >Could anybody send me an information how to encrypt the php source code? > > > >Thanks in advance. > > You can't yet. See > http://www.zend.com/zend/products.php#encoder for > information on the Zend encoder. Apparently it will be available from the > 23rd of this month. I don't think it's a good idea, but in theory one could read in an encrypted file and decrypt it using say openssl_open() followed by eval() or something. Handling the keys is probably going to be a problem. If they key is not encrypted or the passphrase is stored in the server, you haven't gained anything. Better look for the Zend encoder I guess, will be interesting to see what it actually does. Stig -- Duct tape is like the force. It has a light side, and a dark side, and it holds the universe together ... -- Carl Zwanzig

« previous php.general (#33188) next »