Mix of Windows and Forms Authentication in ASP.Net 2.0 ?

N

NH

Hi,

Is it possible to mix windows and forms authentication in asp.net 2.0?

I want to use NT authenication as the standard but I also want to allow
certain users to log in as other users and for that I guess I need to use
forms authentication. I am using "context.identity.username" all over my apps
so if allowing a user to log in as another user I need to ignore windows
authentication and do something like this..

FormsAuthentication.SetAuthCookie("SomeUsername").

Does this make sense?
 

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,744
Messages
2,569,479
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top