|
-
Feb 24th, 2004, 09:59 AM
#1
Thread Starter
Frenzied Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|