1

In an Intranet asp.net application, I need to use Windows authentication, however, I must filter user access to the application. I also have to use an already defined database schema with the users info and profile, so I must handle the ValidateUser. How can I use a custom membership provider with windows authentication?

Thanks in advance!

Pedro
  • 11
  • 4

1 Answers1

0

To use the Windows authentication see WindowsPrincipal and WindowsIdentity. See here for details about role based security.

To build your own custom authentication using users from a database see GenericPrincipal and GenericIdentity. See here for some details regarding custom authentication.

Ando
  • 11,199
  • 2
  • 30
  • 46