Protecting PHP source codes.
hey fellow PHP developer,
Is there any way we could protect our PHP source code from being modified after a 3rd person receives the code? I had developed a web application and when i give the source code to another person i want it to be write protected. Currently i have put a security system, if the code is being edited by a third party the system will shut down dropping all the databases but this has a serious flaw. This kind of protection works only with non-developers. Is there any way we can protect this software from being modified? Basically i don't want the credits part, which has my name and other info in it to be modified. right now i have just put a sequence of 0s and 1s as my credits which later on gets decoded for the actual text to be displayed. This also easily traceable and yeah the application is written in OOP!
ANY SUGGESTIONS!
Related Article: Hangman Source Code: PHP
is a PHP code snippet by Graphix that has 3 replies, was last updated 2 years ago and has been tagged with the keywords: code, hangman, php, source.
unikorndesigns
Junior Poster in Training
54 posts since Aug 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
pritaeas
Posting Prodigy
9,533 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98
http://www.ioncube.com/
They also have a "pay-as-you-go" option where you can upload the code and compile it for much less than you would pay to buy the whole package.
Any protection can be broken but the "byte-code" approach used by Ioncube and Zend is the most secure. Encryption (like PHPShadow) can be easily broken. There are solutions posted on Forums like this that demonstrate how to do it.
chrishea
Nearly a Posting Virtuoso
1,489 posts since Sep 2008
Reputation Points: 223
Solved Threads: 243
Skill Endorsements: 5