Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for filtering/mocking method calls #18

Open
hadess opened this issue Jun 26, 2020 · 0 comments
Open

Add support for filtering/mocking method calls #18

hadess opened this issue Jun 26, 2020 · 0 comments

Comments

@hadess
Copy link
Contributor

hadess commented Jun 26, 2020

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant