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.
code security question
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
The users are going to have to be able to use your code in order to run it thoughGuy wrote:is there a way for me to encrypt the code so he wont be able to view my sources and change\use them.
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