Obfuscating a Magento module
- by Elzo Valugi
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?