There are methods, but to be honest they aren't worth it.
I'm not sure how VBulletin does it (or even IF they do) but the 'phone home' idea is flawed in two major ways:
- It means that a request is sent to your server and it waits for the response - this would slow down the user's request to the site running your code
- As they have full access to the code, they can simply override the checking mechanism.
An illustration of the second point, say you have the following function:
PHP Code:
function IsLegalCopy(){
$Return = file_get_contents('http://auth.yoursite.com/verify.php?code=' . AUTHORISATION_CODE);
if($Return == '1'){
return true;
}else{
return false;
}
}
You could easily just override it with ONE line:
PHP Code:
function IsLegalCopy(){
return true;
$Return = file_get_contents('http://auth.yoursite.com/verify.php?code=' . AUTHORISATION_CODE);
if($Return == '1'){
return true;
}else{
return false;
}
}
The request wouldn't even be sent.
Bookmarks