Hello,
I need to be able to have python  authenticate with the proxy in an enterprise 
environment using the credentials of the currently logged on user (NTLM). Since 
we are using an in house developed application, the program must run on several 
endpoint computers so it should not require to receive any password.  Can 
anyone please share how to do it? 
I have done a small program in powershell that is able to demostrate what I 
need, this program will automatically identify the proxy and if configured will 
use the defaultcredentials from the current session to authenticate, download 
the url and print the result.$url="https://weather.yahoo.com/"$proxy = 
[System.Net.WebRequest]::GetSystemWebProxy()$proxy.Credentials = 
[System.Net.CredentialCache]::DefaultCredentials$wc = new-object 
system.net.webclient$wc.proxy = $proxy$wc.downloadString($url)
Thanks in advance. David                                          
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to