microsoft / go-winio

Win32 IO-related utilities for Go
MIT License
939 stars 181 forks source link

pipe.go: add DialPipeAccessImpLevel #302

Closed dblohm7 closed 8 months ago

dblohm7 commented 11 months ago

I would like to use impersonation on the server side of the pipe, but I currently cannot because all pipes are connected using the anonymous impersonation level.

This patch adds a new function that provides the ability to explicitly specify the desired impersonation level.

Fixes #297

dblohm7 commented 10 months ago

@helsaawy is your team willing to accept this PR?

dblohm7 commented 9 months ago

@helsaawy Thanks for the review! Can you merge this, please?

tylersmalley commented 9 months ago

👋 @msscotb, checking in on this to see if it can be merged.