Jump to content

Recommended Posts

Dear PPL,

 

I was wondering to get some advice on how I can prevent multiple download of a trial software I have up on my website.

 

The idea is that the user should be able to download the trial software initially.  However, it should also recognise him/her coming back to the website in 10 days time or a month after the expiration to redownload it again.

 

I understand a method to use would be cookies, however these can be deleted or if using a different browsers can still allow the download to occur.

 

I need to be able to recognise the computer surfing the website in some fashion or another.  IP address is another method but even these can change and is in no way a secure method for detecting.

 

Not sure if there is a way to obtain the computer id.

 

Any help or pointers would be greatly appreciated and thank you in advance.

 

regards,

HJ

Link to comment
https://forums.phpfreaks.com/topic/286735-prevent-multiple-download/
Share on other sites

Don't give them direct access to the file. Instead make them go through a download script of sorts. That script checks the logged-in user and the download requested and can approve (and send the file) or reject (show/redirect to an error message) the request. In your case you'd log somewhere the first time the user requests a file, then next time look in the log and reject because they've already downloaded it.

The only way you can identify someone is to require them to register an account prior to downloading the software. Even this can be worked around by people just registering multiple accounts though.

 

There is no way without a registration process to accurately identify one person vs another person, so if you try you'll most likely only stop/annoy legitimate users while someone actually trying to abuse the trial would be more or less unaffected.

 

This is why most trial programs do not restrict the downloads but instead either contain some kind of code to lock the program after x number of days or have limited functionallity. Download the installer all you want, it'll only work for x days after the initial install or only with some restrictions.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.