S
S
Seream2202018-06-25 20:04:26
PHP
Seream220, 2018-06-25 20:04:26

How can I create a license system on the site? php?

Good evening.
There is a private office. The user downloads the site from there. When installing the site, how can you make a license system so that the license is issued for a period? After the end of his site stopped working?
How can you make it as difficult as possible to remove this license system (activation) from there?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg, 2018-06-25
@402d

host on your server and do not give access to the code.
Everything else breaks down.
I'll write it out in more detail.
1) the simplest level of protection
somewhere in the php code you check

if(!validLicense()){
  die('все кина не будет');
}

breaks in 1 byte
2) You have done a bunch of transformations on this piece, but in order to execute it in the code there will be eval () or its less
well-known analogues.
It 's a little more difficult to search;)
3) You wrapped the check into a bunch of functions and while the license is working, the result is the same,
the end is crap, for example, the order amount is torn by a couple of kopecks. Congratulations, you will be
prosecuted.
4) Remember that PHP is a compiling interpreter.
And for execution, you can slip the encrypted P-code. This is how ioncubes work.
Hacking becomes a matter of the elite, provided that you have bought the latest version of the protection tool,
for which there is no recompiler in the public. Your codes will be cracked by a $1000 specialist, not a schoolboy.
What can be done anyway?
Follow the path of a lured community (affiliate discounts) and a shit code in which the one who can remove protection will not agree to dig for any money.

A
Alexey Tutubalin, 2018-06-25
@Kennius

Ioncube to help solve your problems

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question