User bus?

Thiago Macieira thiago at kde.org
Tue Mar 4 02:22:17 PST 2008


On Tuesday 04 March 2008 11:05:33 Patryk Zawadzki wrote:
> It shouldn't be hard to change your effective uid before connecting to
> the specific session and it's not likely that anyone but root (or some
> suid helper for - say - copying clipboard contents between two
> sessions) would ever need to connect to other sessions (it would be
> insecure to allow anyone to do so). Such actions would require a
> "push" instead of subscription in order to work and in many cases
> would not be safe to be broadcasted using the system bus (like the
> mentioned "copy foo between sessions" case as "foo" could be something
> confidential). Another solution would be to broadcast a signal telling
> "please establish a private bus connection" but that's so much harder
> to do properly.

If it is confidential, you do *not* want to use the session bus. You want to 
keep everything in the system bus or use a separate data mechanism.

As for clipboards, let's not reinvent the wheel. Use two X11 connections 
instead of transferring the data over D-Bus.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/xdg/attachments/20080304/b5a43d7c/attachment.pgp 


More information about the xdg mailing list