Which is the best implementation??

S

Stelios Skiathitis

In ASP.NET I want to create a form for authenticating a user to enter in a
local intranet site.
I want the user to have the option of selecting two different authentication
modes.
The first using windows authentication form where the user will be
authenticated through his current
login username. (in that case the user won't have to enter any usr/pwd info
at the corresponding form fields)
The second using database authentication where the user should enter a
username-password which will be
authenticated through SQL Server.
Imagine like the way sql server authenticates a user when opening query
analyzer where a dialog opens
and prompts the user to choose windows or sql server authentication.
One more thing is that at the login form the user should choose from a
dropdownlist which database to use.
I have created two databases, one called 'development' and one called
'production'. Both databases contain the
same tables but the data stored are different.

How can I put all these together? Which is the best implementation?
Can Web.Config handle all these together (both types of authentication and
database selection) ?

Thanks
Stelios Skiathitis
 
G

Guest

The web.config file only handles one type of authentication at a time. Hth.

Kind regards,
Nikander & Margriet Bruggeman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,016
Latest member
TatianaCha

Latest Threads

Top