xdg-dbus-proxy icon indicating copy to clipboard operation
xdg-dbus-proxy copied to clipboard

Add support for filtering/mocking method calls

Open hadess opened this issue 5 years ago • 0 comments

If there was an externally manipulatable API in xdg-dbus-proxy to add support for filtering or mock APIs, it would be possible to have, for example, xdg-desktop-portal block access to NetworkManager unless location services were authorised for this app, mimicking the functionality in iOS:

An app linked against iOS 12 or earlier receives a dictionary with pseudo-values. In this case, the SSID is Wi-Fi (or WLAN in the China region), and the BSSID is 00:00:00:00:00:00.

This could also be used to:

  • filter responses from Avahi to only show services that the app has declared caring about
  • make it impossible to scan or manipulate unpaired devices for bluez etc.

hadess avatar Jun 26 '20 13:06 hadess