What does this have to do with .NET?  I don't mean to be mean, but...

Go to www.google.com, enter "logonuser sspi validate credentials" and click
the I'm Feeling Lucky button.  You'll find an MSKB article with full C code
for doing this, complete with support for downlevel OSes' variances in
security API.  How could you miss this?

http://support.microsoft.com/support/kb/articles/Q180/5/48.asp

If your question is really "why doesn't the FCL expose a managed mechanism
for this?", then I'd suggest that it's (generally) not cool for 3rd party
software to prompt the user for his/her logon credentials, and so it's not
something that should be formalized by inclusion in a new software
development framework like .NET.

-S

-----Original Message-----
From: Sean Chase [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 15:21
Subject: Security Question: SSPI to validate user?

Is there a simple way to validate a user (e.g username and password) without
getting a token back using SSPI? I know I can call the LogonUser API, but I
just need to find out if the credentials are valid? Am I on the right track
with SSPI?

===================================
This list is hosted by DevelopMentor.  http://www.develop.com

>>> Error in line 16 of ADVANCED-DOTNET.MAILTPL: unknown formatting
>>> command <<<
 -> .NET courses you may be interested in: <-

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
Some .NET courses you may be interested in:

Guerrilla ASP.NET, 10 Nov 2003 in London and 26 Jan 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnet

Guerrilla .NET, 8 Dec 2003, in Los Angeles
http://www.develop.com/courses/gdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to