PHP Obfuscation and Encryption

8 replies
I am preparing a backend (server-side) PHP product for marketing and need to encrypt my code so that it cannot be copied/stolen. Does anyone have experience with any of the current software packages available that provide PHP encryption and obfuscation?

My product will be downloadable by purchasers from a membership site with periodic downloadable updates. Keying for use only on a purchaser's specific website(s) would be desirable. At least one user-editable file must be accessible by the encrypted file structure but excluded from the encryption/obfuscation process itself.

I've done some research on my own but would like to know what experiences other Warrior members may have had with such products.

Thanks!

#encryption #obfuscation #php
  • Profile picture of the author ToneUK
    I have used NuSphere Nu-Coder in the past to encode PHP source. It protects your code and speeds up execution. The only problem is with encoded PHP files you need to install a tool on the server to decode them. Nu-Coder requires PhpExpress installed on the server.

    Its not a problem if you are hosting the files yourself but if you are going to distribute the code then you must give them instructions for installing the PhpExpress module on their server. This is not ideal, especially for shared hosting.
    Signature
    Free article directory for publishers to download. Free article submission with fast approval times. Submit free articles with back links that are Do follow.
    {{ DiscussionBoard.errors[3825936].message }}
  • Profile picture of the author jminkler
    Originally Posted by tenspider View Post

    I am preparing a backend (server-side) PHP product for marketing and need to encrypt my code so that it cannot be copied/stolen. Does anyone have experience with any of the current software packages available that provide PHP encryption and obfuscation?

    My product will be downloadable by purchasers from a membership site with periodic downloadable updates. Keying for use only on a purchaser's specific website(s) would be desirable. At least one user-editable file must be accessible by the encrypted file structure but excluded from the encryption/obfuscation process itself.

    I've done some research on my own but would like to know what experiences other Warrior members may have had with such products.

    Thanks!

    Why not just offer it as SaaS? Honestly if they want to decrypt it, they will.
    {{ DiscussionBoard.errors[3827188].message }}
    • Profile picture of the author tenspider
      jminkler,

      May indeed offer as SaaS in the future, but do not have the infrastructure to support that at the moment. You're right, someone will always be out there who will attempt to snatch and decrypt code (and will have the capability to do so), but making it discouraging for most and difficult for all definitely has its advantages.
      {{ DiscussionBoard.errors[3830041].message }}
      • Oh WOW, your in Vineland? I grew up there. My LLC is registered in Vineland. How Cool!
        {{ DiscussionBoard.errors[3831883].message }}
  • Profile picture of the author ussher
    Ive used ioncube before and like it. Most hosting companies seam to have the readers installed.

    You can encript everything or just a few files if you want to allow the main part of the code to be visible.

    with all the code encrypted it saves on support requests of the like "Ive only changed a few things, but now its not working, why?"

    Ioncube is a buy it once and use it as much as you like kind of software, or if you only have a few files and dont plan to encrypt much, then you can get it encrypted on a per file basis.

    -- edit --
    Looks like ioncube changed their pricing plan since last i visited their site. It used to be per file. seams like it now goes on lines of source code. Still. If its a small one time thing, you might be able to get away with the min $5 credit purchase.... http://www.ioncube.com/pricing.php
    Signature

    "Jamroom is a Profile Centric CMS system suitable as a development framework for building entire communities. Highly modular in concept. Suitable for enterprise level development teams or solo freelancers."

    - jamroom.net
    Download Jamroom free: Download
    {{ DiscussionBoard.errors[3827596].message }}
  • I have used Zend to encrypt source code in the past.
    And have also used the Free Obfuscator POBS
    POBS - PHP Obfuscator
    {{ DiscussionBoard.errors[3827773].message }}
    • Profile picture of the author spamfighter
      +1 for IonCube

      I have used SourceGuardian and other solutions before, but the issue is that for propper encoders you need to have certain server modules running (Loaders)

      IonCube is by far the widest spread encoder and loaders are installed on most servers.

      If you don't need to encrypt code often, you can even go for the online variant of IonCube, which allows you to encrypt your code by uploading it to their server in the member area.
      {{ DiscussionBoard.errors[3829730].message }}
  • Profile picture of the author majick
    I have used POBS and find it great with a little tweaking and testing.
    It's free, fast and doesn't require serverside decryption at all.
    {{ DiscussionBoard.errors[3904216].message }}

Trending Topics