Page 1 of 1

code security question

Posted: Tue Mar 18, 2003 6:54 am
by Guy
I'm writing a site which suppose to be sent to the clients and installed by them on their servers.
the installation includes putting all the php files on their computers( which will function as the web site server).
is there a way for me to encrypt the code so he wont be able to view my sources and change\use them.

Posted: Tue Mar 18, 2003 7:01 am
by twigletmac
Guy wrote:is there a way for me to encrypt the code so he wont be able to view my sources and change\use them.
The users are going to have to be able to use your code in order to run it though :wink: .

You could look into the products offered by Zend:
http://www.zend.com/store/products/zend ... -suite.php

A low tech option is to remove any linebreaks from the code so all the code is on one line and to use cryptic variable names so it's not obvious what things are doing. But that's a delaying tactic rather than a solution.

Mac