roger upole schkeramsncom giampaolo rodola wrote hi im trying write plugin ftp server mine permit integration accounts defined windows system basically need impersonating user execute e filesystem call eg create directory via osmkdir switch back original user administrator wrote simple class seems fit pretty well purposes class winntauthorizer def impersonate_userself username password selfimpersonated_user_handler win32securitylogonuser username none password win32conlogon32_logon_interactive win32conlogon32_provider_default win32securityimpersonateloggedonuserselfimpersonated_user_handler def terminate_impersonationself win32securityreverttoself selfimpersonated_user_handlerclose need impersonating guest user handle anonymous logins exactly iis ftpd dont know guest account password use something different logonuser manage could someone point right direction thanks advance think youre looking win32securityimpersonateanonymoustoken note anonymous thing guest account roger _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 wed 06 aug 2008 183216 0400 pythonwin32 using logonuser guest account