Make The Download Token Usable Once

sevennight955648

New Member
YetiShare User
Jan 5, 2016
10
0
1
Hello,
Not sure if this is a bug or what.
But the download token :
https:/site.com/filepath/filename?download_token=5f74665dfc4759d7d3bc13addf4c92b1fac964533a91a7185aade612f88eb602

should be usable only once, or at least should be invalid after 5 minutes.
This is making problem since uploaders post on forums/site the link with their download token, and this make some big and serious problem:

1) the token is a premium one, so users download at max speed even if they are guest
2) with the token users start then download directly, so they don't see the download page aka the ads. So uploaders make revenue but site not since no ads is being displayed.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Hi,

The token should be removed once it's fully downloaded the file.

If it's not, what setup do you have? Are you using xsendfile or xaccelredirect?

Thanks,
Adam.
 

sevennight955648

New Member
YetiShare User
Jan 5, 2016
10
0
1
Hey Adam,
Sorry for late reply, was busy.

Actually not using none of these.

Btw, from the DB i see that the token last 1 day:

http://i.imgur.com/lhfGvdG.jpg

but they should be expired once the download is finish.

Any clue?
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Not without looking closer at your install unfortunately. If you send me access via the ticketing system I'll take a look.