Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 6th Oct 2010, 08:35 AM   #1
HyperActive Warrior
War Room Member
 
ccasselman's Avatar
 
Join Date: 2005
Location: Myrtle Beach, SC
Posts: 115
Thanks: 2
Thanked 17 Times in 8 Posts
Default
How to Protect/Encrypt Premium WP Plugins?
Share on: 
fb share twitter share gplus share more share

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.
ccasselman is offline  
Unread 6th Oct 2010, 08:47 AM   #2
VIP Warrior
War Room Member
 
SteveJohnson's Avatar
 
Join Date: 2007
Location: Caldwell, Idaho, USA.
Posts: 1,967
Thanks: 1,024
Thanked 2,043 Times in 1,183 Posts
Default
Re: How to Protect/Encrypt Premium WP Plugins?
Share on: 
fb share twitter share gplus share more share

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."
SteveJohnson is offline  
The Following User Says Thank You to SteveJohnson For This Useful Post:
Unread 6th Oct 2010, 08:56 AM   #3
HyperActive Warrior
War Room Member
 
ccasselman's Avatar
 
Join Date: 2005
Location: Myrtle Beach, SC
Posts: 115
Thanks: 2
Thanked 17 Times in 8 Posts
Default
Re: How to Protect/Encrypt Premium WP Plugins?
Share on: 
fb share twitter share gplus share more share

Originally Posted by SteveJohnson View Post

If a plugin has encrypted code, I request a refund immediately.
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?
ccasselman is offline  
Unread 6th Oct 2010, 09:20 AM   #4
VIP Warrior
War Room Member
 
SteveJohnson's Avatar
 
Join Date: 2007
Location: Caldwell, Idaho, USA.
Posts: 1,967
Thanks: 1,024
Thanked 2,043 Times in 1,183 Posts
Default
Re: How to Protect/Encrypt Premium WP Plugins?
Share on: 
fb share twitter share gplus share more share

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."
SteveJohnson is offline  
The Following User Says Thank You to SteveJohnson For This Useful Post:
Unread 6th Oct 2010, 10:44 AM   #5
Peaceful Warrior
War Room Member
 
theIMgeek's Avatar
 
Join Date: 2009
Location: Calgary
Posts: 277
Thanks: 16
Thanked 106 Times in 63 Posts
Default
Re: How to Protect/Encrypt Premium WP Plugins?
Share on: 
fb share twitter share gplus share more share

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
theIMgeek is offline  
The Following User Says Thank You to theIMgeek For This Useful Post:
Closed Thread


Bookmarks

Tags
plugins, premium, protect or encrypt


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 08:01 AM.