Application authorisations

Bastien Nocera hadess at
Thu Apr 29 03:38:03 PDT 2010


I wanted to work on an authorisation framework for GeoClue. The goal is
for Geoclue to only be available to applications that the user actively

As Geoclue works with multiple D-Bus services, I would first disallow
all the backends to talk to anyone but the Geoclue master D-Bus service
(through checking for binary name, and D-Bus name).

Then, in Geoclue master, keep a list of known binary/D-Bus names to
authorise, and refuse access if they're not on the list.

The problem I have is where would I put the authorisation dialogue?
Could I put it in a separate daemon whose only task would be to write
the authorised binary name/daemon (maybe PID, for one-shot ones)

The goal is to avoid random applications accessing the service without
explicit approval of the user, bar for "special" applications that I'd
like to whitelist (such as a geoclue preferences tab, which would
control the overall authorisation).



More information about the dbus mailing list