N
nickk
Is it possible to prevent access to all files in a (virtual) directory using
ASP.NET and without using an ISAPI filter? I'm quite happy using the standard
classes for authentication and authorisation for ASP.NET (.aspx) pages, but I
want to stop unauthorised users accessing plain HTML pages, PDF files and SWF
files in a directory as well. Can I use HTTPModule for this? Basically, I
want to interrogate and filter all requests in a particular directory, but I
don't want to have to learn C++ just to complete this piece of work.
ASP.NET and without using an ISAPI filter? I'm quite happy using the standard
classes for authentication and authorisation for ASP.NET (.aspx) pages, but I
want to stop unauthorised users accessing plain HTML pages, PDF files and SWF
files in a directory as well. Can I use HTTPModule for this? Basically, I
want to interrogate and filter all requests in a particular directory, but I
don't want to have to learn C++ just to complete this piece of work.