Get Windows username on Intranet

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Get Windows username on Intranet

    Hi all,

    My Intranet currently runs fine (on a Linux-based server, with Apache,
    MySQL and PHP). The mail-form works splendid, except that I like to
    catch the users logon-name (so they cannot fake their name).

    Is there a way to achieve this, preferable cross-browser.

    I'm affraid it won't be possible (security risk).
    --
    Toni Van Remortel
    Netwerkbeheerder HA Dept. Ontwerpwetenschappen
    Toni Van Remortel Guest

  2. Similar Questions and Discussions

    1. windows username
      Hi! I'm a real beginner. Sorry if I ask some stuġid questions :-) My problem is: I have more users on my computer. The system is windows 2000/...
    2. using Windows authentication within intranet
      I would like to set up a web service to use Windows authentication. I understand how to do this in a situation where the client passes a...
    3. Intranet windows authentication
      Hello. I'm currently developing an intranet c# based application. I need to assign a windows login authentication form for users who needs to...
    4. Getting windows username
      I am developing an intranet and was wondering, when a user logs on is there a way to get the username of the windows account in asp.net. I have...
    5. Intranet and Integrated Windows Authentication
      Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation,...
  3. #2

    Default Re: Get Windows username on Intranet

    Closest I have found to being able to automatically identify who is using a
    script is to get their computer name using

    $nm=gethostbyaddr($REMOTE_HOST);

    It does not tell you who actually used the script but rather what computer
    it came from.
    The names we give the computers here are the user's last name which makes it
    easier to tell who did what, but you could always use a database to keep
    track of who has what computer.

    You are supposed to be able to get the login name using a signed java applet
    somehow, but I have not had the time to figure that one out yet.

    The only way I can think of to tell who actually used it would be to have a
    sign-in or at least a password for each user and make them use it each time
    they send a message.

    "Toni Van Remortel" <t.vanremortel@DITISTEVEEL.ha.be> wrote in message
    news:cip57c$o04$2@ikaria.belnet.be...
    > Hi all,
    >
    > My Intranet currently runs fine (on a Linux-based server, with Apache,
    > MySQL and PHP). The mail-form works splendid, except that I like to catch
    > the users logon-name (so they cannot fake their name).
    >
    > Is there a way to achieve this, preferable cross-browser.
    >
    > I'm affraid it won't be possible (security risk).
    > --
    > Toni Van Remortel
    > Netwerkbeheerder HA Dept. Ontwerpwetenschappen

    Arg Guest

  4. #3

    Default Re: Get Windows username on Intranet

    Toni Van Remortel wrote:
    > Hi all,
    >
    > My Intranet currently runs fine (on a Linux-based server, with Apache,
    > MySQL and PHP). The mail-form works splendid, except that I like to
    > catch the users logon-name (so they cannot fake their name).
    >
    > Is there a way to achieve this, preferable cross-browser.
    >
    > I'm affraid it won't be possible (security risk).
    It's tricky, but not impossible - you could assign x509 certificates to all
    your users and setup your webserver to require a cerificate with the right
    signatory from the client.

    Alternatively - for a quick-fix solution (although it's not very secure) you
    could use ident - See the squid website for links to a MS-Windows client.

    I don't know if NTLM can be integrated - try google.

    HTH

    C.
    Colin McKinnon Guest

  5. #4

    Default Re: Get Windows username on Intranet

    Colin McKinnon wrote:
    > Toni Van Remortel wrote:
    >
    >
    >>Hi all,
    >>
    >>My Intranet currently runs fine (on a Linux-based server, with Apache,
    >>MySQL and PHP). The mail-form works splendid, except that I like to
    >>catch the users logon-name (so they cannot fake their name).
    >>
    >>Is there a way to achieve this, preferable cross-browser.
    >>
    >>I'm affraid it won't be possible (security risk).
    >
    >
    > It's tricky, but not impossible - you could assign x509 certificates to all
    > your users and setup your webserver to require a cerificate with the right
    > signatory from the client.
    Sounds interesting.
    > Alternatively - for a quick-fix solution (although it's not very secure) you
    > could use ident - See the squid website for links to a MS-Windows client.
    Just had to remove it due to conflicts with other software on the
    workstations. But I'll take it in mind again.
    > I don't know if NTLM can be integrated - try google.
    Should be possible, I'm trying to get that one compiling. Thanx!

    --
    Toni Van Remortel
    Netwerkbeheerder HA Dept. Ontwerpwetenschappen
    Toni Van Remortel Guest

  6. #5

    Default Re: Get Windows username on Intranet

    Arg wrote:
    > Closest I have found to being able to automatically identify who is using a
    > script is to get their computer name using
    >
    > $nm=gethostbyaddr($REMOTE_HOST);
    Hmm, seems an option. But our workstations just have a logic number
    (students do move sometime ;-)

    --
    Toni Van Remortel
    Netwerkbeheerder HA Dept. Ontwerpwetenschappen
    Toni Van Remortel Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139