jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => General => Topic started by: hbproph on 08.01.2025 20:09:37

Title: Download link not expiring - everyone can use it several time
Post by: hbproph on 08.01.2025 20:09:37
Good afternoon,

First at all congratulation for this amazing plugin.

I have one problem.

I even enabled the "Block when no Referrer" option but when a user purchase a product, he can send the download link to anyone and everyone with the link can download the product.

How can i prevent this? So only the user could download the product and the link is become unusable if he is sending it to his friends.

Thank you very much for any tip or help!
Title: Re: Download link not expiring - everyone can use it several time
Post by: ColinM on 09.01.2025 16:22:49
Hi
Sorry about delay in responding but I realised that the relevant article was out of date!! But now updated
See
https://www.jdownloads.net/documentation/general-items-v3-9/how-can-i-protect-my-download-folders

I would suggest you use the section 'Deny Access using .htaccess fle

Colin
Title: Re: Download link not expiring - everyone can use it several time
Post by: hbproph on 09.01.2025 18:00:19
Dear Colin,

First at all thank you very much for your kind help.
I carefully study the document you sent me.

Im not sure if we are on the same page.

So im not looking to protect any of the download files as all folder for me is empty.

We use hotlinks, so there is no any file in any folder on the server.

So maybe i describe the issue on a bad way.

So after any customer download any file, he will know the down link generated by jdownloads.

For me in the expected situation, with the download link only this customer is able to download the product.

I expect that the link is expiring after certain amount of time, or expiring after certain amount of download.

But in current situation this is not the case.

He can upload the link to any forum or any group in Facebook and then anyone with the link can download the product till the end of the word.

My question, is my statement correct, so there is no any built in link protetcion, or maybe i missed something with the correct setup of Jdownloads?

Thank you very much in advance to put light on this "design gap" (Or maybe just my lack of knowledge)

Title: Re:cron and special char
Post by: ColinM on 09.01.2025 22:43:22
Hi,
Hotlinking is nothing to do with jDownloads or Joomla.  It is a CPanel function. I have not used hotlinking myself but I understand that in Cpanel there are facilities to list those sites that are allowed to hotlink.  I think that will involve a significant amount of administration by yourself adding those sites that are able to hotlink. If some one passes the information to another person on another site then that person will not be allowed to hotlink from their site as they are not in the list of 'allowed hot-linkers'.
Note the Allowed list for site-test.com would have 4 entries
http://site-test.com
http://www.site-test.com
https://site-test.com
https://www.site-test.com
So much management
It is simpler and more flexible to use jDownloads but there is the initial setup stuff.

Colin
PS did you mean that the Downloadable files on anothe site/location
Title: Re: Download link not expiring - everyone can use it several time
Post by: hbproph on 11.01.2025 11:04:11
Hi Colins,

Yes i meant instead of files on the server we use links like this:

https://od.lk/d/NjFfODk1NzkxNTZf/01-01_chn.vtt

This is a file on a remote server
Title: Active Hotlinking Protection
Post by: ColinM on 14.01.2025 12:13:20
Hi
As I said before this is not a jDownloads problem.
Hotlinking is a Server Facility so you need to discuss with your service provider.

Alternatively you could setup all your files as Downloads in jDownloads where there is 'protection' in a different way. But it is 'User Group controlled'
Colin