Login page with Basic authentication (newbie)

Discussion in 'ASP .Net Security' started by Steven K0, Apr 9, 2005.

  1. Steven K0

    Steven K0 Guest

    Hello,

    I am using ASP.Net with Visual Basic.

    I have a directory that has Basic Authentication turned on, which is working
    fine. The problem with this login, is that all it ask for is the login and
    password. My users call me becuase they think they can't log in, but they
    are forgetting to type their domain name (MyDomainName\UserHandle). I found
    a web site in our organization that has NT Authentication, but they have
    there own page for the login and the page gives instructions for loging into
    the site. Unfortunately, this site is maintained by an outside vendor.

    My question is how can I create my own login page for Basic Authentication.

    --
    Thanks in advance,
    Steven
    Steven K0, Apr 9, 2005
    #1
    1. Advertising

  2. Hi Steven,

    You should use Forms Authentication if you want your own login page. In this
    case, you may use Windows Auth (Basic) by accessing the AD API.
    Here is an example of this:

    http://msdn.microsoft.com/library/d...en-us/dnnetsec/html/SecNetHT02.asp?frame=true

    Regards,
    Hernan de Lahitte
    http://clariusconsulting.net/hdl

    "Steven K0" <> wrote in message
    news:...
    > Hello,
    >
    > I am using ASP.Net with Visual Basic.
    >
    > I have a directory that has Basic Authentication turned on, which is
    > working fine. The problem with this login, is that all it ask for is the
    > login and password. My users call me becuase they think they can't log
    > in, but they are forgetting to type their domain name
    > (MyDomainName\UserHandle). I found a web site in our organization that
    > has NT Authentication, but they have there own page for the login and the
    > page gives instructions for loging into the site. Unfortunately, this
    > site is maintained by an outside vendor.
    >
    > My question is how can I create my own login page for Basic
    > Authentication.
    >
    > --
    > Thanks in advance,
    > Steven
    >
    Hernan de Lahitte, Apr 10, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sasquatch
    Replies:
    2
    Views:
    436
    Sasquatch
    Oct 4, 2006
  2. Pascal Blanchard
    Replies:
    0
    Views:
    233
    Pascal Blanchard
    Aug 17, 2004
  3. Pascal Blanchard
    Replies:
    1
    Views:
    267
    Pascal Blanchard
    Aug 18, 2004
  4. Diego Embon \(personal mail\)

    Basic authentication without browser login window

    Diego Embon \(personal mail\), Oct 5, 2004, in forum: ASP .Net Security
    Replies:
    1
    Views:
    166
    Paul Clement
    Oct 6, 2004
  5. mike

    Basic Authentication/Custom Login page

    mike, Sep 14, 2005, in forum: ASP .Net Security
    Replies:
    17
    Views:
    546
    Dominick Baier [DevelopMentor]
    Sep 16, 2005
Loading...

Share This Page