Hello
I need to protect/encode my PHP code since another web designer is taking over a site I developed.
What solution do you recommend ?
Ioncube ?
PHPshield ?
other ?
Thanks
Loic
| SitePoint Sponsor |
Hello
I need to protect/encode my PHP code since another web designer is taking over a site I developed.
What solution do you recommend ?
Ioncube ?
PHPshield ?
other ?
Thanks
Loic





Pls next time just do a simple search. THis has been asked a million times in the forum
http://www.sitepoint.com/forums/sear...archid=2886127
thanks for your help


Hi loicTas, welcome to the forums,
I don't know what's best as I "give away" some of my best work in the spirit of open-source, but as cmuench mentioned, there are lots of threads dealing with this.
I've ended up using SourceCop http://www.sourcecop.com/
It's not bytecode encryption but it does a reasonable job at making files unreadable. And it's easy to use. Encrypt, upload and that's it.
I tried PHPShield (more secure and just a bit more expensive at $79) but I had to tweak quite a few things on my website to make it work and I couldn't be bothered looking into it (spending the time anyway).
Cheers
Loic



Another developer is taking over the site so you're going to encrypt all the code? What if there's a bug in it that needs fixing? or the site owner wants the new guy to add on more functionality? Rather than trying to find ways of encrypting it you should be making sure it's all documented well enough so the new guy can easily understand it.
LMAO took me 3 seconds to retrieve the source code encrypted by SourceCop and i only needed to change one line.
ToPHP Code:require_once(findsysfolder(__FILE__) . '/911006.php');
$REXISTHECAT4FBI = 'FE50E574D754E76AC679F242F450F768FB5DCB77F34DE341 660C280D176E374DE7FB3B090A782B6B68DBC97BEAD93B681C452F25BE26';
g0666f0acdeed38d4cd9084ade1739498(f0666f0acdeed38d4cd9084ade1739498(__FILE__));
Correction there is a second line at the bottom in a eval. If you change that to print along with the top line source codePHP Code:require_once(findsysfolder(__FILE__) . '/911006.php');
$REXISTHECAT4FBI = 'FE50E574D754E76AC679F242F450F768FB5DCB77F34DE341 660C280D176E374DE7FB3B090A782B6B68DBC97BEAD93B681C452F25BE26';
print f0666f0acdeed38d4cd9084ade1739498(__FILE__);
Heh actually remove print from the first line its not needed but the one in the eval does need it.
Seriously I would like to point out how dumb this is to encrypt your source code just because you are afraid some one is going to steal it. And it really gives no real protection just makes that person more wanting to get inside. Just like the programs that "encrypt HTML" now those are really a joke but anyways they do more damage then good and its best just to stay away from them.
Bookmarks