Answer the question
In order to leave comments, you need to log in
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
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.
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.
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 questionAsk a Question
731 491 924 answers to any question