M
M
mcrack2020-04-18 18:43:29
Laravel
mcrack, 2020-04-18 18:43:29

Laravel - How to create a temporary link to files?

Hello, please tell me, is it possible in Laravel to create a temporary public link to a file located in Storage? For example, if a person is logged in, then a temporary link to the images is created and they are displayed in the personal account in the img tag.

Is there something similar? Maybe some package or some other way to create such a thing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daria Motorina, 2020-04-18
@glaphire

https://laravel.com/docs/7.x/urls#signed-urls
Looks like what you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question