Re: Authentication question
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 10/23/04
- Previous message: David Wang [Msft]: "Re: http 401.1"
- 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 18:11:39 -0700
> 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.
Turn on Integrated Windows Authentication on the web server running ASP.NET
applications. Users will automatically authenticate using their current
windows usernames/passwords, and your ASP.NET application will run with that
credential.
I do not know why you store user login names/passwords in a separate SQL
database that can be out-of-sync with the actual remote user's
name/password.
If you want to use custom authentication where you store username/password
in your own user database, then that has nothing to with windows
username/password because the browser won't understand your custom
authentication scheme. You will have to cook up your own mechanism (why not
use ASP.NET Forms Authentication ??? ).
-- //David IIS This posting is provided "AS IS" with no warranties, and confers no rights. // "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
- Previous message: David Wang [Msft]: "Re: http 401.1"
- In reply to: Nikolay Petrov: "Authentication question"
- Next in thread: richlm: "Re: Authentication question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|