S
S
SongaerDev2019-09-27 13:24:45
Copy protection
SongaerDev, 2019-09-27 13:24:45

How to protect a paid Wordpress plugin?

Hello! Faced with a problem. There is a plugin and a theme that can only be installed for certain domains. That is, when you buy, you tell the domain on which you will install, and upon activation, a compliance check should take place. How can this be implemented? Couldn't find adequate information online.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Druzhaev, 2019-09-27
@SongaerDev

Plugin https://wordpress.org/plugins/software-license-manager/ + they have basic manuals - add them under their api.
And here

Couldn't find adequate information online.
- it's full. Both on Habré and in the global network. And yes - what has been written for 8 years - also now. Nothing has changed. So feel free to use it.
And about the protection - it's all a formality. Who needs - break, steal. Another thing - studios that value their reputation - they will buy a license. And without protection, they would buy once and sell to their customers (yes, their conscience allows them to cheat on you and cash in on customers). And you buy from them once and then shish. those. legal protection from studios. And no more. all others break the activation.
And yet - release updates often - so that the one who cuts out the part responsible for activation. - there were eternal problems with the need to do their vile deeds again. Because after the update, protection will arrive))
In general, it is worth considering the moment of activation - so that you are not behind ddos ​​either, and so that if your hoster is down - your clients' sites do not turn into a pumpkin - and this will be a blow to your reputation.
What else - sell technical support and integrations. It's better than sewing in activation keys.

A
Anton Neverov, 2019-09-27
@TTATPuOT

Take a closer look at code obfuscation.
And so - to protect a PHP script is very difficult and usually does not make sense. You can wind up the basic protection, this will be enough for mom's hackers to no longer be able to steal your code.

A
Alexander Sobolev, 2019-09-27
@san_jorich

From the realm of fantasy: Checking the code with the analysis of the siteurl and the address of the request, as a result of which the response will transfer the missing part of the code or recreate the desired file in the plugin directory. The missing part each time can be any file or function. Conditionally random. A piece of obfuscation. Plus a cron check and perfect: installation from your server with your api

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question