Sachin Singh

Sachin Singh

  • 7
  • 55.8k
  • 81.8k

How do we authorize static file in asp.net mvc?

Aug 10 2020 1:49 AM
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.

Answers (7)