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.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire