Hi folks,

I am working on a WebDAV daemon (WebDAV server) written in Python which 
runs filesystem-related functions as the authenticated user than *root* or 
*nobody*.

The approach I tried to fulfill this attribute is implementing a so-called 
filesystem-helper which is a RPC server implements filesystem related 
functions. (e.g. *open*, *read*, *write*, *close*, *mkdir*, etc)

The daemon act as a RPC client and spawn filesystem helpers on successful 
user authentication by invoking *subprocess.Popen(). *The helper invokes 
*os.setuid()* & *os.setgid()* immediately after spawn.

Thus the helper is now running as the authenticated user and accepting 
requests from the deamon.

My question is, (TCP/UDP) sockets are used by RPC implementations between 
their client-server communication conventionally, if gRPC is being used in 
this scenario, is it possible for the server (filesystem helper, child 
process) and client (daemon, parent process) communicate on *stdin*/*stdout*
?

Thanks,
Leo

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/grpc-io/c875050a-441f-42a4-be6e-19d00e15d67cn%40googlegroups.com.

Reply via email to