urllib2 - pass current windows credentials

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tschulken
    New Member
    • Mar 2007
    • 1

    urllib2 - pass current windows credentials

    I want to call our intranet site using urlib2 and want to use my current windows credentials to pass along so I don't get a 'not authorized' response.

    All examples i see are for people needing to pass in an id and password. Since I am already authenticated on the domain, i just need to pass those credentials along.

    using C# i would do something like this:"
    request.Credent ials = System.Net.Cred entialCache.Def aultCredentials ;

    Any suggestions?

    Tim
Working...