Re: How to extract the NT username from NTLM message?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Chris Bilson (cbilson_at_pobox.com)
Date: 08/06/04


Date: Fri, 06 Aug 2004 06:54:01 -0700

darin dimitrov wrote:

> So my question is: Does the "Authorization" header mentioned above
> contains the username of the person who accessed my script? If the
> answer is "yes" then could you please point me to some interesting
> articles that discuss how to extract the username from such a header
> using the .NET framework? I have read through the The NTLM
> Authentication Protocol (http://davenport.sourceforge.net/ntlm.html)
> but it didn't help me much - I find it difficult to implement. Thanks
> in advance for any suggestions.

I can tell you for certain that the Authorization header does not
contain the user's NT login name.

--ChrisBilson



Relevant Pages

  • Re: How to extract the NT username from NTLM message?
    ... > I would like to implement a server side script that extracts the ... > anonymous access in order to force the client send its credentials. ... > articles that discuss how to extract the username from such a header ... The client sends that Type 3 Authorization header in response to the ...
    (microsoft.public.dotnet.framework)
  • Re: [Full-disclosure] Re: tar alternative
    ... given the owner:group of the user I extract them as. ... I have never seen a developer's username or group disclosed... ... Yes, as a normal user, you can't create files locally owned by another ... If you unpack stuff to '/' you deserve to ...
    (Full-Disclosure)
  • using SIDs with windows authentication - asp.net
    ... i have read a few articles about windows authentication with iis and asp.net ... in this articles there are only explained how to get the username or group ... is there a way to get the user or group SIDs? ... i wan't save the SID in a database for securing and customizing a internal ...
    (microsoft.public.dotnet.security)
  • Re: Extracting user name (sorry, Im new!)
    ... > to extract the username of the person logged onto a machine. ... > Can anyone suggest how else I can extract the username from a string? ... WScript.Echo strDN ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.scripting.vbscript)
  • Re: Extracting user name (sorry, Im new!)
    ... >> to extract the username of the person logged onto a machine. ... >> Can anyone suggest how else I can extract the username from a string? ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.scripting.vbscript)