I have an existing app that I've been doing some authentication work on (fixing some long standing issues) and I'm happy enough with the login redirection under normal circumstances. For IIS7 I'm implementing an authorization HttpModule that I'm running on the whole IIS7 pipeline.
This works great but I'd like to get some subdirectories (actually virtual directories) of the main site to return 403 instead of a redirect. Is it possible to do this without implementing my own authentication module?
I've seen Sky Sanders work (code poet) but I'd like to avoid that if I can.
http://www.codeproject.com/Articles/39062/Salient-Web-Security-AccessControlModule.aspx
It feels like something clever with a <location="">
section should work but I can't figure out how to do that (or if it's even possible).