Re: Authentication 101

dl
Date: 03/04/05

  • Next message: Dominick Baier [DevelopMentor]: "Re: Question on GenerateIV and GenerateKey"
    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
    > >
    > > --
    > >
    > >
    > >
    >
    >


  • Next message: Dominick Baier [DevelopMentor]: "Re: Question on GenerateIV and GenerateKey"

    Relevant Pages

    • Re: Remote Web Workplace with Windows authentication instead-of form?
      ... > its what I want (using window authentication instead-of form based) ... >> RWW automatically without fill in the username and password. ... >> If it is not your case and you just want to use integrated window ...
      (microsoft.public.windows.server.sbs)
    • Re: Remote Web Workplace with Windows authentication instead-of form?
      ... its what I want (using window authentication instead-of form based) ... > RWW automatically without fill in the username and password. ... Expand the Default Web Site, right click the "Remote" Virtual Directory ...
      (microsoft.public.windows.server.sbs)
    • Authentication question
      ... I'm developing an intranet application using asp.net. ... I use window authentication for logging. ... header "WWW-authenticate" to be displayed. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • RE: Authentication 101
      ... > I am new to .NET, this could be a very basic question ... > use window authentication to authenticate the user. ... > someone show me some sample code or a pointer to a documentation showing ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Authentication 101
      ... this could be a very basic question ... use window authentication to authenticate the user. ... someone show me some sample code or a pointer to a documentation showing ...
      (microsoft.public.dotnet.framework.aspnet.security)