winapi - Is it possible to create/fork a Windows process with more than one network credential? -


i know that, if want authenticate network resources using different credential, can use win32 api create processes different network credentials, passing logon_netcredentials_only calls createprocesswithlogonw , createprocesswithtokenw.

this equivalent of using command-line runas /netonly ....

however, there edge case invoked process might need access network resource on remote domain, , access network resources within end-user's own domain.

if had full control of invoked process, expect fork twice -- once user's regular credential , once network credential -- , use sort of ipc communicate between processes.

unfortunately, invoked process not in control.

so, before go far down rabbit hole, there win32 api within can create processes multiple network credentials, each apply specific target server?

or have take edge case off table, , push replacing invoked process?


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -