Last post Mar 07, 2010 03:41 AM by russell786
Mar 06, 2010 08:03 AM|wickedhangover|LINK
I'm working with proprietary software that runs on windows servers in IIS. The main executable is a DLL. So all requests to this web app go to http://...../index.dll
The software allows you to pass arguments to the dll so that you can run your own authentication system instead of using the built in system.
So my thought was to code an httpmodule, intercept requests that were not authenticated yet, make them authenticate in my system, then let the request go through.
I have use httphandlers in the past to work with images. In those cases it was simple, after working with the image to whatever extent my code would handle, the image was then streamed out. But with working with this DLL setup, i'm not really sure I know
how to deal with all of this.
What I want to do is intercept the call to the DLL, authenticate the person and then let the DLL execute as it was going to after I add some arguments to the original call.
I can do this with an isapi filter, but using an httpmodule seems so much better if I could just understand how to let the dll execute.
Mar 07, 2010 03:41 AM|russell786|LINK
use httpmodule's AuthenticateRequest event. good luck