Re: Any work in implementing Secure IPC for Linux?

From: Kristian Sørensen
Date: Mon May 09 2005 - 13:46:07 EST


On Monday 09 May 2005 19:54, Chris Friesen wrote:
> Kristian Sørensen wrote:
> > By "secure IPC" is meaning a
> > security mechanism that provides a more fine granularity of specifying
> > who are allowed to send (or receive) messages... and maby also a way to
> > resolve the question of "Can I trust the message I received?"
>
> How about unix sockets?
> --you can have sockets in the filesystem namespace with regular file
> permissions to control who is allowed to send messages to particular
> addresses
This is the same problem: Basing access control on user and group is not
enough - especially as the root-user can overrule any access control
specified by the normal DAC file attributes.

> --you can authenticate who is sending the message using SCM_CREDENTIALS
I guess this poses the same problem as above?


KS


--
Kristian Sørensen
The Umbrella Project -- Security for Consumer Electronics
Linnovative -- www.linnovative.dk
ks@xxxxxxxxxxxxxx -- +45 2972 3816
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/