Re: Authentication 101
dl
Date: 03/04/05
- Previous message: Victor Rodriguez: "Authentication"
- In reply to: Joe Kaplan \(MVP - ADSI\): "Re: Authentication 101"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Authentication 101"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Authentication 101"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 4 Mar 2005 14:13:19 +0800
Thanks.
After test driving a sample window authentication, I found I would need the
form authentication instead, but can I do it using LDAP ...?
/dl
"Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
in message news:%23UaDs8AIFHA.2456@TK2MSFTNGP09.phx.gbl...
> Windows authentication is designed to work with the built-in browser
> features to do authentication, not forms authentication. If you need to,
> you can write your own forms authentication provider to do so, but you'll
> have to do a lot of extra work to get this. Is it really necessary?
>
> I'd suggest using the LogonUser API or SSPI to create a WindowsPrincipal
> based on a username and password. Both of those will require p/invoke
code
> though. There are numerous samples available online.
>
> Joe K.
>
> <dl> wrote in message news:OHtDTdAIFHA.2476@TK2MSFTNGP12.phx.gbl...
> > Hi All
> >
> > I am new to .NET, this could be a very basic question
> > I would like to write a login page to capture username / password, and
> > then
> > use window authentication to authenticate the user. I have done some
> > readings and come across with IPrinciple, WindowPrinciple .... but can
> > someone show me some sample code or a pointer to a documentation showing
> > some sample code, on what exactly to be used to perform a basic
> > authentication?
> >
> > Thankyou very much.
> > dl
> >
> > --
> >
> >
> >
>
>
- Previous message: Victor Rodriguez: "Authentication"
- In reply to: Joe Kaplan \(MVP - ADSI\): "Re: Authentication 101"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Authentication 101"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Authentication 101"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|