User authentication to services

Rob Taylor robtaylor at
Mon May 31 23:14:01 PDT 2004

I'm interested in implementing a solution. However its not clear to me if this proposed solution solves my problem - I need applications to be able to authorise to a service, not a service to applications. and these applications must not be forced to register as a service as there may be multiple instances. Am i understanding this correctly?


Rob Taylor

On Mon, 31 May 2004 16:17:00 -0400
Havoc Pennington <hp at> wrote:

> On Sun, 2004-05-30 at 18:11, Rob Taylor wrote:
> A solution we've discussed in the past was to have properties for each
> connection to the bus that could be queried. So the idea is you send a
> message to org.freedesktop.DBus invoking a method such as GetProperties,
> where GetProperties would take two arguments, a service name and an
> array of property names. It would return either an array of ANY or
> perhaps an array of STRING with the property values. (Suggest just using
> STRING for now.)
> Then there would be some standard properties, such as
> org.freedesktop.AuthUserID or whatever.
> You have to be careful to use the base service name not a well-known
> service name in this context, since the base service name can't be
> recycled and thus no spoofing is possible.

More information about the dbus mailing list