The way I understand it, NTLM authentication never actually sends your password.  It 
is a challenge/response scheme valid for a single session between two explicit hosts.  
Since the authentication is only for the original destination server, it will not pass 
through to other machines.

To avoid sending basic authentication credentials in clear-text (or more specifically, 
Base64 encoded text), just use SSL.  It is a simple and very compatible solution.

Peter Guzis
Web Administrator, Sr.
ENCAD, Inc.
- A Kodak Company
email: [EMAIL PROTECTED]
www.encad.com 

-----Original Message-----
From: Matt Bazan [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 9:24 AM
To: Peter Guzis; [EMAIL PROTECTED]
Subject: RE: unable to access remote registries in perl script across
network


Thanks again Peter, that did the trick.  I'm comfortable sending
passwords to this resource in clear text.  Can you provide me with some
pointers on why NTLM would not work for this?  Short of using SSL, is
there any other way to do this.  Thanks for the help,

  Matt

> -----Original Message-----
> From: Peter Guzis [mailto:[EMAIL PROTECTED] 
> Sent: Friday, March 19, 2004 5:34 PM
> To: Matt Bazan; [EMAIL PROTECTED]
> Subject: RE: unable to access remote registries in perl 
> script across network
> 
> 
> Are you utilizing NTLM or basic authentication when accessing 
> the script in question?  If the former, it will not work 
> outside the server itself.  The solution in that case is to 
> switch the authentication method to basic.
> 
> Peter Guzis
> Web Administrator, Sr.
> ENCAD, Inc.
> - A Kodak Company
> email: [EMAIL PROTECTED]
> www.encad.com 
> 
> -----Original Message-----
> From: Matt Bazan [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 19, 2004 5:14 PM
> To: [EMAIL PROTECTED]
> Subject: unable to access remote registries in perl script 
> across network
> 
> 
> Hey all,
>       I've got a perl cgi script on one of our internal web 
> servers (W2K3 running IIS 6) that, among other things, 
> connects to the registries of assorted workstations.  Script 
> works fine when run locally on the webserver.  
>       When I attempt to run the script from my workstation 
> the remote registry access fails.  Permissions on script are 
> setup such that my domain account and local admin group on 
> web server have full rights. I've been unable to figure out 
> what may be the cause of this permission problem.  Ideas?  Thanks,
> 
>   Matt
> 
> 
> _______________________________________________
> Perl-Win32-Web mailing list [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to