Re: Authentication question
From: Nikolay Petrov (johntup2_nospam__at_mail.bg)
Date: 10/22/04
- Next message: David Freeman: "Re: DataGrid - Hiding a Column - Not Working"
- Previous message: Kenneth: "Re: Migration from SQL Server 2k to XML"
- In reply to: Cirrosi: "Re: Authentication question"
- Next in thread: Ken Tucker [MVP]: "Re: Authentication question"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 22 Oct 2004 10:45:38 +0300
Second question.
When a user connects to my ASP .NET app and provides it Windows credentials
the authentication will fail, because my machine does not know anything
about it's username and password, right?
That is the point that I need to authenticato to SQL database, not to
Windows account. Any ideas how to accomplish this?
"Cirrosi" <CirrosiN_O-S_P_A-M@fastwebnet.it> wrote in message
news:ze2ed.18992$1q2.14985@tornado.fastwebnet.it...
> You cannot extract the password.
> For extract username you must enable ONLY windows autentication from iis
> en obtain username from HttpContext.current.user.identity.name.
>
> "Nikolay Petrov" <johntup2@mail.bg> ha scritto nel messaggio
> 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: David Freeman: "Re: DataGrid - Hiding a Column - Not Working"
- Previous message: Kenneth: "Re: Migration from SQL Server 2k to XML"
- In reply to: Cirrosi: "Re: Authentication question"
- Next in thread: Ken Tucker [MVP]: "Re: Authentication question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|