Since I am new to Laravel, I am facing some issues in file system and security concerns, my question is..
How to restrict direct access to files in laravel ( http://localhost/projectname/public/uploads/sample.pdf)
I don't want the user to show (get the access) of folder where the files are being save. Problem is if he show the folder he will try to access other files via. directly opening the document path, which is not secure as per privacy point. Just want to prevent any unauthorized access to the file...!
Any valuable feedback will he highly appreciated.