Obfuscating a Magento module

Posted by Elzo Valugi on Stack Overflow See other posts from Stack Overflow or by Elzo Valugi
Published on 2010-03-15T14:06:23Z Indexed on 2010/03/15 14:09 UTC
Read the original article Hit count: 231

Filed under:
|

I've been asked to protect a Magento module through obfuscation. I never used PHP obfuscation packages but I know how they work and I forsee some issues in obfuscating a module that is very string and xml dependant:

  • /etc/config.xml registers harcoded class names and paths
  • auto-loading is heavily used
  • I cannot imagine how to automatically obfuscate a class name that will be called later by Mage::getModel('my/module').

Any recommendations?

© Stack Overflow or respective owner

Related posts about magento

Related posts about obfuscation