Re: Capturing Windows Login Name



Manuel Lemos wrote:
Hello,

on 02/02/2008 07:25 AM K. A. said the following:
I know it is not possible to get Windows login name using PHP because
it is a server-side script, but I dunno whether anyone has tried using

This is not accurate, the Windows logon name is passed to servers by
several browsers (not just IE) when servers ask for Windows NTLM
authentication.

You just need to configure your Web server to require Windows
authentication, and you get the current logged user logon name using
GetEnv('LOGON_USER'); .

Forget Javascript, it would never work.


And which browsers are these? I want to ensure they are never installed on my system. Such operation would be a tremendous breach of security.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • Re: IE5 ignores padding or margin for inline elements - workaround?
    ... >> copy of a web page, browsed with various browsers. ... I have a couple of tutorial pages on server-side negotiation ... client agents may or may not give the user the ability ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Using object tags to open HTML, can it be done **in IE**?
    ... IE often does things differently from other browsers. ... might be along the lines of "I need to include some external data into a ... some server-side scripting in, for instance, PHP. ...
    (alt.html)
  • Re: ASP beginner
    ... You would use ASP/VBScript run server-side unless you are in intranet environment where all users ... would be running Windows with IE browsers, as other browsers do not support VBScript client side. ... Microsoft MVP - FrontPage ... javascript and some html also. ...
    (microsoft.public.frontpage.programming)
  • Re: Page wrongly displays in Spanish only once
    ... server-side cache flushing and the problem simply went away. ... in Spanish even though the end-user is insisting that they are not ... to send different language versions to different browsers? ...
    (comp.infosystems.www.authoring.html)
  • Re: asp.net postbacks dont work after leaving browser open all night w/ windows integrated authentic
    ... it seems like it is a server-side authentication issue to me. ... Client-side pages are static, if they do something at 7pm, they do it again ... web pages and not the windows authentication credentials. ...
    (microsoft.public.dotnet.framework.aspnet.security)