2013. április 17., szerda

Hi! Could you suggest me a good PHP obfuscator? Commercial, or open-source (I prefer open source solutions). Thx

7 megjegyzés:

  1. Why? The only way to keep your PHP private is to only run it on your own server. As soon as you give it to someone else they can easily unobfuscate it. All you would be doing is adding overhead to the server. You can make your code damn hard to read but that's seriously bad practice as it makes updating hard.

    I saw a guy once who base64 encoded his anti spam function three times to 'hide it' so everytime a post was made the server had to base64_decode then eval then base4_decode etc etc

    VálaszTörlés
  2. I don't agree with it. Renaming variables, function names. classes. files, etc. are doesn't degrade the performance, but makes the code hard to read for others. I know, I cannot totally protect the code with it, but I can make harder to steal it.

    VálaszTörlés
  3. Which is pretty much what I just said :|

    VálaszTörlés
  4. if you prefer open source solutions then why obfuscating your code... The more people can read your code and the more they can improve it and not "steal it"...
    By the way, a solution can be commercial AND open source (there is no contradiction)

    VálaszTörlés
  5. Reverse Engineering can take place on obfuscated code, we all have gone through this route, its good when the threat level is minimal, but in a more advanced environment, hosting that app in your own server is the best security(though attacks can still take place if security is not taken care of), in the mean time you can try Zend Guard from Zend ...

    VálaszTörlés