mardi 5 janvier 2021

How to restricts public uploads files in laravel

How to restrict the direct access to files in laravel (http://localhost/laravel-blog/public/uploads/sample.jpg)

The problem is if it shows the folder he will try to access other files. directly opening the document path.

If I put in URL uploads then it will nothing return but If I put full URL with the path then it accessible, So how can I stop it.

If it possible to access images outside the public folder?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3naCLlq
via IFTTT

1 commentaire: