473,402 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Multiple Authentication Modes

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 18 '05 #1
2 1166
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 18 '05 #2
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 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: mkoleno346 | last post by:
If I want to change autentication modes for an instance of MSDE that I already installed, what is the best way to go about this? I don't think you can change authentication modes using any of the...
2
by: Gaurav Vaish | last post by:
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...
6
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by...
0
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.