Preventing RPC access to a single process when using localhost

31 views
Skip to first unread message

johns...@gmail.com

unread,
Sep 5, 2017, 9:55:39 AM9/5/17
to grpc.io
I've got a process that is running GRPC servers on a single device via localhost in Golang.  This gives me protection from external access, but I would like to restrict down local access as well.  I would not want another user on the same device getting access.  

I could switch over to using domain sockets and use file permissions, but I figure that wouldn't be compatible across multiple OS types (like Windows).  

Adding an auth layer seems like overkill where I restrict this to a specific local user, but maybe that is the only way to do it.  

If anyone has a better method would be great to hear about it.

Thanks!

Menghan Li

unread,
Oct 17, 2017, 7:55:49 PM10/17/17
to grpc.io
I would think a transport security layer sounds OK here, since you want it to be compatible across multiple systems...
Reply all
Reply to author
Forward
0 new messages