Author: urbanite61 | Posted on: 5/20/2010 4:18:35 PM | Views : 283

Hello,
Can someone tell me how I can prevent someone from viewing directory list (files) from url?
For example: http://mydomain.com/folder/     ... I don't want anyone to see directory list of files under the folder directory by just entering above. I have several project folders for my web app and in each folder, I have a web.config file <authorization><deny users="?" /></authorization> as well as <location> tags. They are working fine from preventing unauthorize access to the .aspx pages and redirecting to login page. But still want to prevent viewing the directory folder.
Any help would be great.
thanks 



...

Go to the complete details ...