satish kumar

satish kumar

  • NA
  • 10
  • 63.1k

How to Prevent direct access to files and folders in asp.net

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 alternate...to do this..?

Answers (2)