Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mDelshad's avatar

Secure Links in Laravel

I'm developing a training site. When the user buys training , The user can see the download link...

If the link is displayed normally, for example :

http://site.com/dl/file.zip

Anyone can access it

I dont want this to happen And I want to create a download link that only the user can download and do not see the main file link can you help me?

0 likes
2 replies
mDelshad's avatar

@OHFFS - I saw it but I could not implement it Can you give us code samples?

Please or to participate in this conversation.