Blocking access to image directories
I would like to be able to refuse access to some directories that contain images but still allow access to these directories for scripts via file i/o.
In other words if you type http://192.168.14.30/design or http://192.168.14.30/design/example.gif you will get permission denied.
However if a script was to access this url it would be allowed to view the directory contents with GetDirectories and GetFiles and even allow the download of files by a binary stream to the browser.
Help would be appreciated as this is my first ASP.NET project. By the way I'm using C#.
DJ