Re: Authentication question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Nikolay Petrov (johntup2_nospam__at_mail.bg)
Date: 10/22/04


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
>>
>
>



Relevant Pages

  • Re: Smartcard authentication in a multi-tier application
    ... side where the user enters the username and password and on the server ... implementation as we need the domain username and password of the PIN- ... since SC authentication on the Windows client results in a Kerberos ... ticket which can then be used to authenticate to the server. ...
    (microsoft.public.platformsdk.security)
  • Re: Dial up, how to authenticate to workplace corp network ?
    ... Windows server, this username is only used to authenticate the connection. ...
    (microsoft.public.windows.server.networking)
  • Re: what difference between Integrated Windows Authentication in IIS configuration and Active Direct
    ... No - IWA is just a way of getting the credentials from clien­t (eg ... What happen if you only let user enter username instead of Domain ... automatically attempt to authenticate against AD. ... All other domains (Windows 2000, ...
    (microsoft.public.inetserver.iis.security)
  • Authenticating a Windows XP workstation to a 2000 Server
    ... I have a windows 2000 serve Sp4 with Active Directory. ... authenticate a windows XP workstation to the domain, I receive the username ... I am using the administrator account to authenticate. ...
    (microsoft.public.windows.server.networking)
  • Authentication to domain
    ... I have a windows 2000 server Sp4 with Active Directory. ... authenticate a windows XP workstation to the domain, I receive the username ... I am using the administrator account to authenticate. ...
    (microsoft.public.windows.server.dns)