Scripts library / Antileech
Antileech - paid access to files (Local version)
Script below designed to protect file archives from unapproved downloading and changes any actual link to any file stored in archive folder. This script is easy to install and can be installed on any CMS based script. You can change the time limit for downloading as well as key time limit using Control Panel on the website.
This version enables multiple downloads. You decide for how long your file is accessible, by changing config.php file.
Also, you have control over the number of IP addresses from which the resource is downloaded (in case downloading was interrupted and user IP address was changed).
In table "download" appears data such as downloaded files, its name, the time downloading began, IP addresses from which files were downloaded.
Work method - remote handler:
The moment our server receives user's SMS message containing your sms:key sent to short code, what happens is our server calls for (./rsmsantileech/result.php) file out of this archive and writes the received key down to database on your server. Further key testing is performed on your server, without requesting ours.
If user enters the right key, new line containing received data is added to "download" table.