Re: Web Login Page (Beginner)
From: Chris Blanco (cblancoNOSPAM@necam.com)
Date: 03/26/03
- Next message: Cy Huckaba: "Forms Auth root "/" not authenticating sub folders and files"
- Previous message: Chad Nelson: "Re: Web Login Page (Beginner)"
- In reply to: Chad Nelson: "Re: Web Login Page (Beginner)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Chris Blanco" <cblancoNOSPAM@necam.com> Date: Wed, 26 Mar 2003 14:47:17 -0500
You need to wrap the advapi32.dll calls to LogonUser:
There are literally tons of examples...here is a quick one I found in about
5 minutes...you have to look and search through stuff sometimes...
http://www.ondotnet.com/pub/a/dotnet/2003/01/20/formsauthp2.html
"Chad Nelson" <Chad.Nelson@CommerceBank.com> wrote in message
news:4e6301c2f3ce$35938cb0$3401280a@phx.gbl...
> I've been to google,msdn and other sites. They have
> information on authencation but not the information that I
> need. For example how can I get a list of valid domains on
> a current network.
>
> Does anybody know of a simple method I can call to
> authenticate to Windows? for example:
> login(user,password,domain)
>
> What I'm looking for is a login page with the following
> input boxes:
> Name:
> Password:
> Domain:(I would like this to be a select box of domain
> choices)
>
> with this information I can authenticate any user.
>
> Thanks.
>
>
>
> >-----Original Message-----
> >Did you look at more than just that website? And what
> exactly does no luck
> >mean? No luck getting to the Site? No luck with what the
> site said? What
> >have you tried and what are the problems you have
> encountered? People are
> >going to need more info to go on if you want help.
> >
> >"Chad Nelson" <Chad.Nelson@commercebank.com> wrote in
> message
> >news:386901c2f31a$088f6630$a201280a@phx.gbl...
> >> No luck
> >> >-----Original Message-----
> >> >I would begin looking into "Windows Authentication" If
> >> you do a search at
> >> >msdn or through google you will find a wealth
> >> information. This will require
> >> >very little coding on your part!
> >> >
> >> >This would be a great start:
> >> >http://msdn.microsoft.com/library/default.asp?
> >> url=/library/en-us/cpguide/htm
> >> >l/cpconaspnetauthentication.asp
> >> >
> >> >"Chad Nelson" <Chad.Nelson@CommerceBank.com> wrote in
> >> message
> >> >news:358a01c2f2e0$627fbd50$a501280a@phx.gbl...
> >> >> What I need to create is a web page that will have a
> >> place
> >> >> to enter your NT login name and a drop down box that
> >> list
> >> >> all domains on the users network and a text box to
> >> enter a
> >> >> password.
> >> >>
> >> >> 1.I need to figure out how to get the list of domains
> >> >> in .NET
> >> >> 2. How to authenticate to windows with the
> information
> >> >> entered.
> >> >>
> >> >> Multiple users will login on to the web page using
> the
> >> >> same computer. The user logged on to the Windows
> >> computer
> >> >> will not be the user logging onto the web page.
> >> >>
> >> >> Any help appreciated!
> >> >>
> >> >> Thanks
> >> >
> >> >
> >> >.
> >> >
> >
> >
> >.
> >
- Next message: Cy Huckaba: "Forms Auth root "/" not authenticating sub folders and files"
- Previous message: Chad Nelson: "Re: Web Login Page (Beginner)"
- In reply to: Chad Nelson: "Re: Web Login Page (Beginner)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|