PHP Windows domain user/machine

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

    PHP Windows domain user/machine

    Is there a way for a PHP script to know which machine/user is
    accessing the script?

    The html headers at best show the client machine name/IP but not the
    user. so...

    Can AciveX be used to see who is logged in?

    Can COM etc be used?

    If this is not possible through the use of apache+php, can any other
    application server beside iis + asp be used like tomcat?

    I'd ideally like page A to be displayed if logged in user is A, page B
    is displayed if logged in user is B. PHP will not be authenticating
    the user (spoof is possible and OK), but user can be logged into any
    machine.
  • Kees Nuyt

    #2
    Re: PHP Windows domain user/machine

    On 22 Feb 2005 08:38:35 -0800, ghazan.haider@g mail.com (Ghazan
    Haider) wrote:
    [color=blue]
    >Is there a way for a PHP script to know which machine/user is
    >accessing the script?
    >
    >The html headers at best show the client machine name/IP but not the
    >user. so...
    >
    >Can AciveX be used to see who is logged in?
    >
    >Can COM etc be used?
    >
    >If this is not possible through the use of apache+php, can any other
    >application server beside iis + asp be used like tomcat?
    >
    >I'd ideally like page A to be displayed if logged in user is A, page B
    >is displayed if logged in user is B. PHP will not be authenticating
    >the user (spoof is possible and OK), but user can be logged into any
    >machine.[/color]

    MS IIS can use NTLM authentication in combination with Internet
    Explorer. If you use Apache you would have to install the open
    source NTLM module, which is only available for Linux, if I
    remember well.

    I don't think that would work out of the box with other
    webbrowsers, so it would only be suitable for an intranet, where
    you can be sure about everyones' browser.

    --
    ) Kees Nuyt
    (
    c[_]

    Comment

    Working...