Forums / Craftwork / Server-side / how can i limit a plugin work for just 1 domain

diablo
#1 2012-10-25 22:12

i need to limit the amount of domains using my plugin or lets just say the package.. i dont want someone to take it and use it for another site.

 

i prefer free solutions but willing to pay some fee if i must

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
Macik
#2 2012-10-26 00:55

You need some code encoder. 

Stealed from somewere in net (pretty old info, but it gives the direction for search): 

Source Defender
PHP Screw
Zend Encoder
PBC
PHTML Encoder
NIA Encoder
microCode
POBS

But it's not a all time solutions. All files can be decompiled with more or less time and knowledge.

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
This post was edited by Macik (2012-10-26 01:01, 11 years ago)
GHengeveld
#3 2012-10-26 07:13

With an interpreted (not compiled) language like PHP it's difficult to prevent source code from spreading once it's been released. The encoding solutions provided by Macik attempt to obfuscate the source code so it becomes difficult to modify it. Then you can use some sort of serial code system to limit use.

My suggestion is to use a legal license which indicates the limited amount of domains your package may be used on. Some won't abide it, but I doubt it's worth the effort to use an encoder.