[python-win32] Impersonation and Threads

Mark Hammond mhammond at skippinet.com.au
Wed Jan 9 08:55:41 CET 2008


> Does windows OS have a standard dialog box I can call from python that
> queries the username/password, and returns a token?

Not that I am aware of.  It would be a bad idea anyway.  A better idea would
be to use the Windows SSPI functions so that the client and server can use
NTLM or Kerberos to get a handle you can use with impersonation.
win32security should have all you need, and check out sspi.py

Mark



More information about the python-win32 mailing list