473,382 Members | 1,357 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,382 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 16 '05 #1
2 1460
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
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 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...
4
by: Jay | last post by:
I have authentication set for my site but I need one page to be an exception case. Namely my forgot password page. How do I tell the webconfig file to authenciate all pages except one page? ...
0
by: Jason | last post by:
Hi wondering if it's possible to switch between two authentication modes? for example switch to Cookie authentication when a windows authentication is not found. Thanks Jason
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...
3
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be...
4
by: Anthony P. Mancini | last post by:
Does anyone know how to make the MSDE do SQL authentication ? It appears to authenticate using Windows at all times. Thanks, Anthony
1
by: Rob | last post by:
I have an ASP.NET application that uses forms-based authentication. A user wishes to be able to run multiple sessions of this application simultaneously from the user's client machine. The...
0
by: Eidolon | last post by:
I remember reading about how you can change the allowed users or not for any given resource in a web app using a LOCATION key in the web.config. I was wondering, is there any way to also have...
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.