Whenever someone uploads a file it goes to a folder say myfolder and it stores user documents say doc1.doc, now anyone can see it if he knows the path like localhost/myfolder/doc1.doc.
How to apply authorization here.
Know the answer? Post it. Somebody with the same question will find it here.





Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Aug 10, 2020, 6:24 AM EDT
Varun SetiaRank #308 · 8.2K reputationPosted Aug 10, 2020, 6:08 AM EDT