The username is not in that unique code, you need to set the iis
permissions on the folder that your cgi is in.  The server variable you
want is AUTH_USER you cannot parse the password out. You might be able
to sniff it if you used a challenge/response login window.  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of kk aw
> Sent: 14 December 2007 03:39
> To: Borland's Delphi Discussion List
> Subject: Re: IIS v5 Integrated Windows Authentication
> 
> Francois,
> 
> I can see something similar to the following in my ISAPI application:
> 
> Authorization: NTLM TlRMTVNTUAADAAAAGAAYAGoAAAAYABgAggAAAAwADABAAA
> AACAAIAEwAAAAWABYAVAAAAAAAAACaAAAAAQIAAEQATwBNAEEASQBOAHUAcwBlAHIA 
> VwBPAFIASwBTAFQAQQBUAEkATwBOAMM3zVy9RPyXgqZnr21CfG3mfCDC0+d8ViWpjB
> wx6BhHRmspst9GgPOZWPuMITqcxg==
> 
> I assume that the client has successfully negotiated the NTLM 
> authentication.  How do I parse out the username from the 
> above in the 
> server?
> I have looked at some of your codes in ICS (httpproc.pas) but 
> have not 
> figured out how to parse out the username.
> 
> Regards,
> KK Aw
> 
> Francois Piette wrote:
> >> I don't need the password, only the username.  How do it 
> extract that
> >> from the request using Delphi?
> >>     
> >
> > Have a look at the resources I pointed for you. There is a 
> description of
> > the messages exchanged between client and (web) server.
> >
> > Contribute to the SSL Effort. Visit 
> http://www.overbyte.be/eng/ssl.html
> > --
> > [EMAIL PROTECTED]
> > Author of ICS (Internet Component Suite, freeware)
> > Author of MidWare (Multi-tier framework, freeware)
> > http://www.overbyte.be
> >
> >   
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.503 / Virus Database: 269.17.1/1182 - Release 
> Date: 12/12/2007 11:29
>  
> 

_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to