read userinformation

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

    #1

    read userinformation

    Hi all,

    wuold it be possible to read the userinformation from a machine?

    I am trying to create a database application and would like only certain
    (logged on to the network) users, to have access in write mode.

    So.... is there an environment variable I can read from the "user's"
    workstation and then determine if he or she has logged on successfully?

    I know this is not serverside information, but still....would like to know
    if someone tried this with success.

    Regards,

    Michel


  • Kevin Thorpe

    #2
    Re: read userinformation

    michel wrote:[color=blue]
    > Hi all,
    >
    > wuold it be possible to read the userinformation from a machine?
    >
    > I am trying to create a database application and would like only certain
    > (logged on to the network) users, to have access in write mode.
    >
    > So.... is there an environment variable I can read from the "user's"
    > workstation and then determine if he or she has logged on successfully?
    >
    > I know this is not serverside information, but still....would like to know
    > if someone tried this with success.
    >[/color]
    php can't see things like that, but there's an Apache module to
    authenticate against the user's NT domain logon

    Compare the best free open source Software Development Software at SourceForge. Free, secure and fast Software Development Software downloads from the largest Open Source applications and software directory

    Comment

    • david

      #3
      Re: read userinformation

      > > wuold it be possible to read the userinformation from a machine?[color=blue][color=green]
      > >
      > > I am trying to create a database application and would like only certain
      > > (logged on to the network) users, to have access in write mode.
      > >
      > > So.... is there an environment variable I can read from the "user's"
      > > workstation and then determine if he or she has logged on successfully?
      > >
      > > I know this is not serverside information, but still....would like to[/color][/color]
      know[color=blue][color=green]
      > > if someone tried this with success.
      > >[/color]
      > php can't see things like that, but there's an Apache module to
      > authenticate against the user's NT domain logon
      >
      > http://freshmeat.net/projects/mod_ntlm[/color]

      This is true, but there is a caveat:

      First, mod_ntml assumes that you are using *nix to run your web server on.
      If you are using Windows for the web server, this is not going to happen.

      If you are using IIS, you can set that to provide the user name for you. If
      you are using IE, you will want to make sure that integrated authentication
      is on.

      Good luck!
      david



      Comment

      • michel

        #4
        Re: read userinformation

        thanks for these additional remarks and sorry for not sharing system info
        earlier:

        I am running windows 2000, apache/php (phpdev build on development server)
        Ideas?

        tha,
        Mich

        "david" <someone> wrote in message news:c1fql101ie 0@enews3.newsgu y.com...[color=blue][color=green][color=darkred]
        > > > wuold it be possible to read the userinformation from a machine?
        > > >
        > > > I am trying to create a database application and would like only[/color][/color][/color]
        certain[color=blue][color=green][color=darkred]
        > > > (logged on to the network) users, to have access in write mode.
        > > >
        > > > So.... is there an environment variable I can read from the "user's"
        > > > workstation and then determine if he or she has logged on[/color][/color][/color]
        successfully?[color=blue][color=green][color=darkred]
        > > >
        > > > I know this is not serverside information, but still....would like to[/color][/color]
        > know[color=green][color=darkred]
        > > > if someone tried this with success.
        > > >[/color]
        > > php can't see things like that, but there's an Apache module to
        > > authenticate against the user's NT domain logon
        > >
        > > http://freshmeat.net/projects/mod_ntlm[/color]
        >
        > This is true, but there is a caveat:
        >
        > First, mod_ntml assumes that you are using *nix to run your web server on.
        > If you are using Windows for the web server, this is not going to happen.
        >
        > If you are using IIS, you can set that to provide the user name for you.[/color]
        If[color=blue]
        > you are using IE, you will want to make sure that integrated[/color]
        authentication[color=blue]
        > is on.
        >
        > Good luck!
        > david
        >
        >
        >[/color]


        Comment

        • david

          #5
          Re: read userinformation

          "michel" <no@spam.please > wrote in message
          news:c1fscl$8nk $1@news.cistron .nl...[color=blue]
          > thanks for these additional remarks and sorry for not sharing system info
          > earlier:
          >
          > I am running windows 2000, apache/php (phpdev build on development server)
          > Ideas?
          >
          > tha,
          > Mich
          >
          > "david" <someone> wrote in message news:c1fql101ie 0@enews3.newsgu y.com...[color=green][color=darkred]
          > > > > wuold it be possible to read the userinformation from a machine?
          > > > >
          > > > > I am trying to create a database application and would like only[/color][/color]
          > certain[color=green][color=darkred]
          > > > > (logged on to the network) users, to have access in write mode.
          > > > >
          > > > > So.... is there an environment variable I can read from the "user's"
          > > > > workstation and then determine if he or she has logged on[/color][/color]
          > successfully?[color=green][color=darkred]
          > > > >
          > > > > I know this is not serverside information, but still....would like[/color][/color][/color]
          to[color=blue][color=green]
          > > know[color=darkred]
          > > > > if someone tried this with success.
          > > > >
          > > > php can't see things like that, but there's an Apache module to
          > > > authenticate against the user's NT domain logon
          > > >
          > > > http://freshmeat.net/projects/mod_ntlm[/color]
          > >
          > > This is true, but there is a caveat:
          > >
          > > First, mod_ntml assumes that you are using *nix to run your web server[/color][/color]
          on.[color=blue][color=green]
          > > If you are using Windows for the web server, this is not going to[/color][/color]
          happen.[color=blue][color=green]
          > >
          > > If you are using IIS, you can set that to provide the user name for you.[/color]
          > If[color=green]
          > > you are using IE, you will want to make sure that integrated[/color]
          > authentication[color=green]
          > > is on.
          > >[/color][/color]
          I have this exact same problem on roughly the same environment. I have
          chased my tail on this for weeks, and have not found a solution that is
          acceptable.

          In another newsgroup, the suggestion was made to start explorer from a bat
          file and pass in the user name. This may work for you, but does not work for
          me.

          There is another Apache module, auth_sspi, which will authorize and do
          exactly what you want it to, except that it only works on the web server
          users. So, if you have the web server and all your users on it (I hope not),
          you are in business.

          Other than that, I am out of ideas.
          david


          Comment

          Working...