By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,738 Members | 1,480 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,738 IT Pros & Developers. It's quick & easy.

Multiple Authentication Modes

P: n/a
Hi,

How can I accomplish multiple authentication modes in one application?

I have the following scenario:

- A company, X, has some employees
- Those on rolls have an AD account
- Those not, have an account that's managed in a separate DB

- I want AD (NTLM/Windows) authentication as well as Forms
authentication. How can I accomplish this?

Is it possible to create an httpModule and then... based on some
conditions, delegate the requests to the NTLM / Forms login-handlers?

I would like to expand this to allow multiple modes -- which may get
complex later (with a few more custom modes added in) ...
--

Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org/gallery
-----------------------------------

Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Gaurav,

I have just written an article that describes exactly how to do what you
want.

Its still awaiting publishing approval before being made public, but I'd be
happy to forward it to you to help you out. If interested, contact me at
gl**@aspalliance.com-NOSPAM. Obviously remove the "-NOSPAM" from my email
address.

--
- Paul Glavich
Microsoft MVP - ASP.NET
"Gaurav Vaish" <mD*****************************@nospam.lycos.co m> wrote in
message news:e8**************@tk2msftngp13.phx.gbl...
Hi,

How can I accomplish multiple authentication modes in one application?

I have the following scenario:

- A company, X, has some employees
- Those on rolls have an AD account
- Those not, have an account that's managed in a separate DB

- I want AD (NTLM/Windows) authentication as well as Forms
authentication. How can I accomplish this?

Is it possible to create an httpModule and then... based on some
conditions, delegate the requests to the NTLM / Forms login-handlers?

I would like to expand this to allow multiple modes -- which may get
complex later (with a few more custom modes added in) ...
--

Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org/gallery
-----------------------------------

Nov 16 '05 #2

P: n/a
Thanks, Paul, for your reply.

Kindly check your mail.

--

Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org
-----------------------------------
"Paul Glavich [MVP - ASP.NET]" <gl**@aspalliance.com-NOSPAM> wrote in
message news:OG**************@TK2MSFTNGP11.phx.gbl...
Hi Gaurav,

I have just written an article that describes exactly how to do what you
want.

Its still awaiting publishing approval before being made public, but I'd be happy to forward it to you to help you out. If interested, contact me at
gl**@aspalliance.com-NOSPAM. Obviously remove the "-NOSPAM" from my email
address.

--
- Paul Glavich
Microsoft MVP - ASP.NET
"Gaurav Vaish" <mD*****************************@nospam.lycos.co m> wrote in
message news:e8**************@tk2msftngp13.phx.gbl...
Hi,

How can I accomplish multiple authentication modes in one application?
I have the following scenario:

- A company, X, has some employees
- Those on rolls have an AD account
- Those not, have an account that's managed in a separate DB

- I want AD (NTLM/Windows) authentication as well as Forms
authentication. How can I accomplish this?

Is it possible to create an httpModule and then... based on some
conditions, delegate the requests to the NTLM / Forms login-handlers?

I would like to expand this to allow multiple modes -- which may get
complex later (with a few more custom modes added in) ...
--

Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org/gallery
-----------------------------------


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.