What to protect download link in Wave?
Hi ther,
Yes indeed using a middleware sounds like the way to go.
Then I could suggest following the steps from the Laravel documentation on how to handle File Downloads:
https://laravel.com/docs/7.x/responses#file-downloads
Another way to go for this is to add the logic to your Controller and check if the user is authenticated or not and then return the download response.
Report
1















