Forums - C# Corner

Forum guidelines
satish kumar

satish kumar

  • 1.5k
  • 10
  • 42.4k

How to Prevent direct access to files and folders in

Aug 17 2011 5:20 AM
Hi everyone
can you any one tell me how to prevent files from directory when the user trying to access files directly.
when he tries to access files it should ask login
in my directory i have [.xls, .doc, .pdf files]

how to do this.
if by authentication and authorization how...?
is there any do this..?

Answers (2)