Re: Using D-Bus for private IPC

Thiago Macieira <[email protected]> Mon, 26 Sep 2022 12:04:41 -0700
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <4431183.LvFx2qVVIh@tjmaciei-mobl5>
On Monday, 26 September 2022 11:34:00 PDT you wrote:
> I've been reading about the <policy> rules, and it seems like I might
> be able to run it on the system bus, with certain rules in place to
> permit messages only between the two destinations. Is something like
> this a valid rule?
> 
> <allow send_destination_prefix="org.foo.Agent"
> receive_destination="org.foo.Owner"/>

Yes.

Remember to allow processes acquiring such names too, according to 
restrictions you may need.