Authentication

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I wrote a little Active Directory class that retrieves the groups a user is a part of. When I call it using a console application, evrything works great. When I call it from an aspx page more work is required: 1) I have to use impersonation; 2) I have to use Basic authentication in IIS; and 3) the first time executing the code you must sign in. If I try to execute it from a web app without meeting these conditions, a COM Interop exception is thrown.

Does anyone know why this might be the case? I don't particularly want to use Basic authentication and if users have to sign in, they won't use it...they are already behind a firewall.
 
Is this an intranet app? Could you use Integrated windows authentication, that way they won't have to log in, but they will have credentials established (through impersonation) like a console application.
 
Back
Top