ntlm authentication

Tim Golden mail at timgolden.me.uk
Mon Jul 21 10:45:39 EDT 2008


Neuberger, Sheldon N. wrote:
> Is there any way to make urllib2 handle NTLM authentication?

Frankly, I'd hate to try. Have a look at this:

http://sourceforge.net/projects/ntlmaps/

in case it helps, either by providing a solution or
at least by illustrating some code.

In addition, look at the sspi package in the latest
pywin32 releases. There some sample code in
the demos area there, too. Haven't used it myself
(and I know it's messy) but I'm sure someone must
have.

TJG



More information about the Python-list mailing list