Reputation: 87
I am building a Codeigniter application for a client.I need to upload the codeigniter application in the client server. Therefore I need to encrypt or protect my source files.
What should I do to protect or encrypt my Codeigniter source file or Project.
Upvotes: 0
Views: 9763
Reputation: 1
There are problems in ionCube. The problem is when CodeIgniter code is obfusacate and encrypted, the calling area of that function/class/variable does not recognize newly created function/class/variable name and generates error.
ionCube knows the pitfalls and offers a way to exclude such files that are being called outside that file, but thats what MVC do. Not an elegant solution by ionCube.
https://blog.ioncube.com/2014/10/16/common-obfuscation-pitfalls/
I did not check ZendGuard, but my guts feelings says, the same problem will appear if we use any code encryption tool. The point is, we made a file, class, method, variable encrypt and obfuscate (encrypt / obfuscate), after the process, it will produce new name for class, method, variable. Now, another model, controller, method is calling the same variable/method, and then it will not recognized and an error will be thrown. I am not 100% sure in case of ZendGuard or other tools but checked the ionCube.
Upvotes: 0
Reputation: 1704
Well that would take away the whole point of open source now would it. You will have to encrypt/obfuscate your source by using ionCube or Zend encoders. However, I am not sure if the app will work after encoding since you are using a framework. ionCube says that they work with codeigniter but I don't have any experience for it.
I haven't used Zend before. Even though you encrypt them I have seen posts where they claim to be able to get the normal clean code. I don't know how much of this is true.
But if you need to protect the source code ionCube or Zend encoders say that they can. http://www.ioncube.com/ OR http://www.zend.com/en/products/guard/
Upvotes: 1
Reputation: 1527
i also needed this type of feature and all users suggest ioncube and ZendGuard but this software is paid versions. so research on this feature i get a such a perfect tool and it's allow to make only single PHP file encoding as i want i use this.
after implement this encoded code in my project no affect to code and works perfectly and it is Byterun.
Upvotes: 0