Enable pipe reject remote clients
@@ -8828,7 +8828,7 @@ NTSTATUS PhCreatePipeEx(
FILE_SHARE_READ | FILE_SHARE_WRITE,
FILE_CREATE,
FILE_PIPE_INBOUND | FILE_SYNCHRONOUS_IO_NONALERT,
- FILE_PIPE_BYTE_STREAM_TYPE,
+ FILE_PIPE_BYTE_STREAM_TYPE | FILE_PIPE_REJECT_REMOTE_CLIENTS,
FILE_PIPE_BYTE_STREAM_MODE,
FILE_PIPE_QUEUE_OPERATION,
1,
@@ -8926,7 +8926,7 @@ NTSTATUS PhCreateNamedPipe(
FILE_SHARE_READ | FILE_SHARE_WRITE,
FILE_OPEN_IF,
FILE_PIPE_FULL_DUPLEX | FILE_SYNCHRONOUS_IO_NONALERT,
- FILE_PIPE_MESSAGE_TYPE,
+ FILE_PIPE_MESSAGE_TYPE | FILE_PIPE_REJECT_REMOTE_CLIENTS,
FILE_PIPE_MESSAGE_MODE,
FILE_PIPE_QUEUE_OPERATION,
FILE_PIPE_UNLIMITED_INSTANCES,
