WORK WITH US
Blog Overview

The Best Way to Protect Your PHP Code

Probably the most frustrating thing for programmers - aside from trying to understand someone else's undocumented code - is spending hours and hours on completing a truly elegant piece of work, publishing it, and then having someone come along and simply steal all your carefully crafted code. Intellectual property theft is an incredibly important and all too widespread problem, and numerous solutions have been developed to handle it. The most effective way, however, is to encrypt your PHP code, rendering it completely incomprehensible to someone hoping to steal your intellectual property, but maintaining its ability to run flawlessly. We'll look at a couple of the different encryption options to help you decide the best way to go.

First and foremost, we should discuss the open source possibilities. There are two main packages, Turck MMCache and PHP Obfuscator, both of which are free - but they come along with all the pitfalls of open source software, including bad documentation and no support structure. If you're running an extremely valuable piece of code that you've just poured weeks or months of work into, you shouldn't trust it to an encoder that doesn't have a support system. While open source might be fine for small pet projects, any serious encrypting solution should have support staff on hand to handle any questions or concerns when it comes to integration and implementation, so that you can focus on the work you're being paid to do.

 

 

On the paid side of things, there are a couple of major players: SourceGuardian and Zend Guard. Zend is a big name in PHP, obviously, but Zend Guard has some major drawbacks when compared to SourceGuardian. First of all, the Zend Guard software requires a regular annual subscription, which means that you have to keep paying over and over, and secondly, that annual subscription price is currently set at a staggering $600 USD. By comparison, SourceGuardian costs one-third as much at $199 USD, and that's a one-time cost. SourceGuardian offers all the same features as Zend Guard, although it also incorporates support for the newly-released PHP 5.5, which Zend Guard does not yet support. Zend Guard also requires you to run and install additional software on your server in order to properly parse their encrypted files, which can create additional problems - while SourceGuardian scripts will run natively on any operating system, just the way PHP should. You can learn more about the complete SourceGuardian featureset by visiting http://www.sourceguardian.com/text-features-page-160.html

If you're a serious developer who regularly creates work that is valuable enough to encrypt, it's easy to see which is the better - and more economical - choice when it comes to protecting your intellectual property. Try a 14 day free trial of SourceGuardian today!


tweet The Best Way to Protect Your PHP Code facebook The Best Way to Protect Your PHP Code google The Best Way to Protect Your PHP Code pin The Best Way to Protect Your PHP Code
Posted by Adrian, Sunday 24th February 2019

Do you have a project you'd like to talk to us about?

Yes, I'd like to talk to you
The one-stop agency for digital solutions LinkedIn Twitter" Facebook
T: 0330 122 0400© COPYRIGHT 1998 - 2020 Inovica Ltd Privacy Policy / Terms & Conditions / Company Info / Sitemap