Results 1 to 2 of 2

Thread: Encryption?

  1. #1
    rlhanson's Avatar
    rlhanson is offline Master Glow Jedi
    Join Date
    Aug 2007
    Chapman, Kansas

    Default Encryption?

    How do you protect your php and js code from being reverse engineered or duplicated?
    I've read a liitle about the Zend encryption, but curious about how your programming still interacts when you have a combination of php and js.

    Any recommendations or advice?

    Thanks in advance!
    Last edited by rlhanson; 06-16-2009 at 10:24 AM. Reason: can't spell
    Thank you,
    Lynne Hanson
    RL Hanson-Online

  2. #2
    Dmitriy is offline Nearly a Master Glow Jedi
    Join Date
    Feb 2007


    You can't protect your code from being reverse engineered. However, this process is not easy and very long. In most cases it is much easier to write new script that reverse engineer the other one. Zend Optimizer will not save your code from this either, but it will save your code from being simply copied. There are lots of the sites on the Net that rpovide decryption of Zend-encoded PHP files, but Zend still claims it is impossible and no one can really say if decryption really works.
    There is another technology, called ionCube, but the situation is the same as with Zend. If I was choosing how to protect my code, I'd choose Zend.

    Iteraction is still simple, because the files are stored encrupted, but PHP interpeter sees it decrypted (thanks to server software).

    You can't encrypt your JS code as the client browser must see it decrypted or must be able to decrypt it on the client side. This means if the browser can decrypt it - it can be easily done by wannabe coder.
    What you can do, is to make it completely unreadable. This is not the 100% solution, but it will make your files load faster and usage more difficult (you use normal files for development and obfuscated when released). BTW, it is called obfuscation. You can google on this topic.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16