| | #1 |
| HyperActive Warrior War Room Member Join Date: 2005 Location: Myrtle Beach, SC
Posts: 115
Thanks: 2
Thanked 17 Times in 8 Posts
|
I have written a premium WP plugin and want to try to protect it the best I can from free distribution. Yes, I know there is only so much protection you can do, but I do not want the average person to just send it around. I have read about ioncube and zend, but not sure if they work in WP or if there is a standard or generally accepted way to protect WP plugins. All thoughts / recommendations welcome. |
| |
| | #2 |
| VIP Warrior War Room Member Join Date: 2007 Location: Caldwell, Idaho, USA.
Posts: 1,967
Thanks: 1,024
Thanked 2,043 Times in 1,183 Posts
|
zend and ioncube are not WP dependent, they are PHP extensions. You'll have to purchase a license to encode your script with either one. For my part, I won't use a plugin that has encryption for two reasons: first, I don't know what the encrypted code does. Is it a "phone home" routine? A tracker? A plugin has access to all the sensitive data in my database, including usernames - a known username is 50% of a hack attempt. Second, the plugin may not do exactly what I need it to do in the manner I need it done. If I can't modify it to suit my needs, it's worth little more than the 63 Buick brake master cylinder that is in my junkbox in the garage. If a plugin has encrypted code, I request a refund immediately. |
|
The 2nd Amendment, 1789 - The Original Homeland Security. Gun control means never having to say, "I missed you." | |
| |
| The Following User Says Thank You to SteveJohnson For This Useful Post: |
| | #3 |
| HyperActive Warrior War Room Member Join Date: 2005 Location: Myrtle Beach, SC
Posts: 115
Thanks: 2
Thanked 17 Times in 8 Posts
|
I understand that - I feel the same, but then just give your code out to be handed around is scary too. Wishlist which is widely used is using a basic encryption - does anyone know what that is? Or how to do it? |
| |
| | #4 |
| VIP Warrior War Room Member Join Date: 2007 Location: Caldwell, Idaho, USA.
Posts: 1,967
Thanks: 1,024
Thanked 2,043 Times in 1,183 Posts
|
You can base64 encode sections of your script then cause them to execute. That keeps most of the prying eyes away because very few people will write the simple code to unencode it. If your plugin does something in the background like Akismet, you can make it phone home with an application key - but if you do that you'd better make sure that it works once the initial key is entered and verified - AND that the server that verifies it has virtually 100% uptime or has a fallback method. |
|
The 2nd Amendment, 1789 - The Original Homeland Security. Gun control means never having to say, "I missed you." | |
| |
| The Following User Says Thank You to SteveJohnson For This Useful Post: |
| | #5 |
| Peaceful Warrior War Room Member Join Date: 2009 Location: Calgary
Posts: 277
Thanks: 16
Thanked 106 Times in 63 Posts
|
Look into a code obfuscator such as Code Eclipse - PHP Obfuscator Then inside your code you could have a "phone home" thing that checks a registration key against a database. To solve the "reliability" issue, perhaps make it so that the script is only disabled if it gets a true negative response from headquarters. (timeouts and fails will have no affect) As always, none of these measures wll stop somebody with time/energy/know-how from stealing your stuff if they really want to. -Ryan |
| FREE WSO: Protect and Automatically Deliver Your Digital Products Ask the Internet Marketing Geek <-- Happy to help with technical challenges MiniSiteMaker.org <-- Free software to make your mini-sites fast and easy | |
| |
| The Following User Says Thank You to theIMgeek For This Useful Post: |
|
| Bookmarks |
| Tags |
| plugins, premium, protect or encrypt |
| |