Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Security for files in the web

Hi Everybody

Am working in asp.net ,
i have some file in the web folder
it should not download by giving the direct path , how can restrict , the web users from directly accessing my files

for example

the folder having files like this

folder documents

1. doc1
2. doc2
it should not accessed or downloaded by giving direct path

how can restrict or prevent

thank you




thank you
[599 byte] By [paranthaman] at [2007-11-11 8:27:35]