How do I intercept all incoming requests to a domain

We have a need to intercept all incoming requests to a particular domain, and redirect to an application used for authentication. Basically if any request comes in, and there's not an established session, it needs to redirect to an application for performing authentication. Once authenticated, we will redirect to another application running on the webserver. Our main challenge is if someone copies a deep link into the application, how do we capture that at the web server level to inspect the request to see if there's an established session before routing to the application.

Our server is running IIS, and we have options of using a custom .NET authentication program, or using a 3rd party tool for authentication. Thanks for any help or suggestions.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kusala WijayasenaSoftware EngineerCommented:
I think what you should implement is SSO (Single Sign On). You can have your own or 3rd party STS

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sfletcher1959VPAuthor Commented:
Thank you for the responses. We are using a combination of an IHttpModule to do some interception/filtering and an SSO implementation.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.