Re: Authentication question
From: Ken Tucker [MVP] (vb2ae_at_bellsouth.net)
Date: 10/22/04
- Next message: SLY: "Re: Mixing authentication type flags & By design Bug from MS ?"
- Previous message: Nikolay Petrov: "Authentication question"
- In reply to: Nikolay Petrov: "Authentication question"
- Next in thread: richlm: "Re: Authentication question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 22 Oct 2004 08:05:45 -0400
Hi,
You can get the user name from the windowsidentity class.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemsecurityprincipalwindowsidentityclassnametopic.asp
Ken
-----------------------
"Nikolay Petrov" <johntup2@mail.bg> wrote in message
news:uZKa1FAuEHA.2876@TK2MSFTNGP14.phx.gbl...
Can I authenticate users of my ASP .NET apps, using their windows
credentials, but using a SQL db.
Let me explain a little more.
I have an Windows XP station where i run my ASP .NET apps. I wish users to
authenticate them using their current windows usernames and passwords.
I have stored my users login names and passwords in SQL database, because I
don't wish store an account for every user in my network at my XP machine.
So is it posible to pass windows credential for verification against SQL
database? Or maybe the right question is, can I extract the username and
password as clear text from the passed credentials.
I am not quite shure are there any possibilities.
TIA
- Next message: SLY: "Re: Mixing authentication type flags & By design Bug from MS ?"
- Previous message: Nikolay Petrov: "Authentication question"
- In reply to: Nikolay Petrov: "Authentication question"
- Next in thread: richlm: "Re: Authentication question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|