Windows Authentication

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pepi Tonas

    Windows Authentication

    Hi there...

    I am trying to use the Windows user/password combination to grant or
    deny access to my application. For this I want to display a login
    dialog window requesting the userID and password and submit these two
    to Windows (98 / 2000 / XP) and obtain back a confirmation or denial
    of the access.

    Any help will be appreciated. Code sample even more.

    Thanks folks...
  • Cor Ligthert

    #2
    Re: Windows Authentication

    Pepi,

    Do you know there is a complete sample in the VB resourcekit about your
    question.

    Create a Login Dialog Box
    VB.net Resource kit


    And if you have problems installing the resource kit


    I hope this helps?

    Cor
    [color=blue]
    > I am trying to use the Windows user/password combination to grant or
    > deny access to my application. For this I want to display a login
    > dialog window requesting the userID and password and submit these two
    > to Windows (98 / 2000 / XP) and obtain back a confirmation or denial
    > of the access.
    >
    > Any help will be appreciated. Code sample even more.[/color]


    Comment

    • Greg Burns

      #3
      Re: Windows Authentication

      Cor, just an FYI:

      I finally got a chance to take a look at the Resource Kit you spoke of.

      There is a "How-To Create a Login Dialog Box" that is pretty slick. But, it
      does NOT prompt for a Windows username/password. It only works with a
      custom username/password from a backend db or xml. (There is a checkbox to
      slide by authentication if you are logged in as an administrative account
      into windows, but it doesn't prompt for and check your windows password.)

      I have made something that queries AD and does want I want, but I was hoping
      for a MS perspective on how to do this.

      (Even though the user is already logged onto the computer, we have a
      requirement that they must log into the app to proceed. And we want to reuse
      the username/password info already in AD.)

      Thanks,
      Greg

      "Cor Ligthert" <notfirstname@p lanet.nl> wrote in message
      news:OC%2371Xmk EHA.3536@TK2MSF TNGP12.phx.gbl. ..[color=blue]
      > Pepi,
      >
      > Do you know there is a complete sample in the VB resourcekit about your
      > question.
      >
      > Create a Login Dialog Box
      > VB.net Resource kit
      > http://msdn.microsoft.com/vbasic/vbrkit/default.aspx
      >
      > And if you have problems installing the resource kit
      > http://msdn.microsoft.com/vbasic/vbr...q/#installvdir
      >
      > I hope this helps?
      >
      > Cor
      >[color=green]
      >> I am trying to use the Windows user/password combination to grant or
      >> deny access to my application. For this I want to display a login
      >> dialog window requesting the userID and password and submit these two
      >> to Windows (98 / 2000 / XP) and obtain back a confirmation or denial
      >> of the access.
      >>
      >> Any help will be appreciated. Code sample even more.[/color]
      >
      >[/color]


      Comment

      • Cor Ligthert

        #4
        Re: Windows Authentication

        Greg,

        You are right, I knew there was something with my message and always when I
        look at that login I think "that is very basic and I miss the authority",
        however some people want to do the authority using there SQL server maybe
        that was the reason they did it that way.

        But there is as well a sample in the resource kit about Role Based Security,
        I think that combining those two would a good entree to the problem.

        Thanks for pointing me on this.

        Cor


        "Greg Burns"
        ....[color=blue]
        > Cor, just an FYI:
        >
        > I finally got a chance to take a look at the Resource Kit you spoke of.
        >
        > There is a "How-To Create a Login Dialog Box" that is pretty slick. But,[/color]
        it[color=blue]
        > does NOT prompt for a Windows username/password. It only works with a
        > custom username/password from a backend db or xml. (There is a checkbox[/color]
        to[color=blue]
        > slide by authentication if you are logged in as an administrative account
        > into windows, but it doesn't prompt for and check your windows password.)
        >
        > I have made something that queries AD and does want I want, but I was[/color]
        hoping[color=blue]
        > for a MS perspective on how to do this.
        >
        > (Even though the user is already logged onto the computer, we have a
        > requirement that they must log into the app to proceed. And we want to[/color]
        reuse[color=blue]
        > the username/password info already in AD.)
        >
        > Thanks,
        > Greg
        >
        > "Cor Ligthert"[/color]


        Comment

        Working...