-2

I am trying to have both windows as well as forms authentication for my application. For Forms Authentication I wrote my custom membership provider to handle authentication. I want to do the same for windows authentication also.

Can we control windows authentication using code? Thanks

3

1 Answer 1

2

They key is to lock in on the username for intranet users, but redirect other users to a custom logon screen for username and password.

Here are two articles that discuss mixing forms and windows security in ASP.NET.

  1. Mixing Forms and Windows Security in ASP.net
  2. Windows Authentication with Forms Fallback
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.