Why do clients calling a grpc server via named pipes which is hosted in a windows service require admin rights?

Stephen Richardson 41 Reputation points
2024-01-02T13:51:21.6366667+00:00

I have a grpc service which uses named pipes, it is hosted in a Windows service. If my client is running with admin rights it is able to call the service otherwise it fails with an UnauthorizedAccessException.

This is a replacement for an old WCF service which worked OK because the Windows service made the named pipe visible to processes in other logon sessions on the same machine. Has this behaviour changed with grpc?

Developer technologies ASP.NET ASP.NET Core
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.