Re: Authenticating NT Credentials in C#
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 May 2007 11:11:24 -0500
There is a wrapper in .NET 2.0 for SSPI-authenticated streams called
NegotiateStream. You might want to look around for some implementations
that demonstrate how to use it for that purpose.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Matthew Wieder" <MatthewWieder@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DE970525-1EB3-4923-A6E1-C04770B86840@xxxxxxxxxxxxxxxx
I must be missing something since this seems like a common task, but I
can't
find any .NET samples of, if given an NT domain/username and password, to
validate that the username and password are correct. LogonUser won't work
since the code needs to run on Windows 2000 without admin priviledges. I
would think there to be a .NET class for this purpose, but the only thing
I've found is the SSPI example here
http://support.microsoft.com/?id=180548
using C++.
.
- Prev by Date: Urgent: Securing a .net 1.1 application
- Next by Date: Security Testing tools & links
- Previous by thread: Urgent: Securing a .net 1.1 application
- Next by thread: Re: Authenticating NT Credentials in C#
- Index(es):
Relevant Pages
|