[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: screensaver and power manager dbus interfaces
From:       Thiago Macieira <thiago.macieira () trolltech ! com>
Date:       2006-06-01 18:30:41
Message-ID: 200606012030.42239.thiago.macieira () trolltech ! com
[Download RAW message or body]


Bastian, Waldo wrote:
>>Next to that, care should be taken when using dbus in
>
>security-sensitive
>
>>applications, like a screensaver -> the always returning "abort when
>
>bus
>
>>crashes" issue. You cant allow a screensaver to abort at any time,
>>certainly not because of some external service.
>
>Does the current dbuslib implementation allow you to specify what to do
>when the dbus connection gets dropped? If not, then I think that should
>be added.

What do you mean, Waldo?

There's one option in libdbus-1 to quit the application if the connection 
breaks, but as far as desktop applications go, it's pretty dangerous. 
It's off by default.

The bindings should provide a higher-level interface to trigger a graceful 
exit (saving files, etc.). Applications that are security-sensitive could 
reconnect instead [also handled at a higher-level].

-- 
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech AS - Sandakerveien 116, NO-0402 Oslo, Norway

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic