开发者

How to get the user account associated to the webdav request?

When accessing a webdav using Windows Explorer (Not IE), the call is redirected thru the svchost.exe process (with webclnt.dll).

When i check get the pid of the process that is connected to the local port, i get t开发者_JS百科he pid of the svchost.exe process.

How can i get the user account that the call was associated to?


You can use an LSP like komodia LSP, and in the WSAStartup function, you can user GetUserNameW() to retrieve the user account associated with the thread.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜