0
How to Obfuscate or Encrypt the code of a plugin that has been developed for wordpress?
I have a plugin that only works by confirming the purchase email on the activation screen. What if I delete the user from my database (which pulls the emails from the buyer) the plugin to work on the client.
The point is. The source is open and someone can simply remove my protection functions, for that reason I want to encrypt, to prevent piracy of my plugin.
Not the case of an open source plugin, I have a few on wordpress org, but this will not open.
Look, if it’s a JS you developed, check out this site: http://www.javascriptobfuscator.com/Javascript-Obfuscator.aspx
– Diego
The Plugin is 90% php!
– Anderson Costa
But then you have nothing to worry about. PHP will run on the server, the client will only see the result, not the structure of what you developed.
– Diego
It is a wordpress plugin, just it go up wp-content/plugins/meuplugin that it will see the whole code.
– Anderson Costa
In this case it is only you put a . htacess inside the plugins folder with the Options -Indexes option that will not list anything. Now, if the code is . php, will not do anything, pq neither open or download it will get.
– Diego
I cannot insert an htaccess file into the plugins folder of whoever buys my plugin. I have to do this within my plugin, without influencing anything in the third party wordpress that come to buy.
– Anderson Costa
There are several plugins paid around, try to see how they did
– Daniel Costa