privacyguides.org/docs/os
Rahul Sandhu 49d627d740
update: screencopy documentation in Linux Overview (#3144)
Even on Gnome, a single dbus call allows applications outside of
sandboxes to overwrite their permissions in the portal permission
store. A sandbox that is supported by portals for identifying apps is
also required: otherwise, a malicious app could trivially spoof a name
on the bus. Currently, only Flatpak and Snap are subclasses of the
XdpAppInfo class, required for xdg-desktop-portal to be able to
identify a client.

Privileged Wayland protocols are also not an issue. KDE's kwin requires
that applications have an entry in a system-installed desktop file[1],
meaning that random crap can't simply capture the screen, and Flatpak
supports the security-context-v1 protocol, which is used to filter
access to these privileged protocols[2].

An example of the dbus call for Gnome:
dbus-send --session --print-reply=literal --dest=org.freedesktop.impl.portal.PermissionStore /org/freedesktop/impl/portal/PermissionStore org.freedesktop.impl.portal.PermissionStore.SetPermission string:'screenshot' boolean:true string:'screenshot' string:'' array:string:'yes'

[1] https://github.com/KDE/kwin/blob/master/src/wayland_server.cpp#L129-L134
[2] f0e626a4b6

Signed-off-by: redoomed1 <redoomed1@privacyguides.org>
Signed-off-by: Daniel Nathan Gray <dngray@privacyguides.org>
2025-11-10 23:32:40 +10:30
..
windows style: Enable vscode spellcheck and fix typos/style (#2888) 2025-02-27 00:55:02 -06:00
android-overview.md style: Reorganize and tweak email-related pages (#2973) 2025-04-18 00:47:05 +09:30
index.md feat: Ensure all pages have proper descriptions (#2752) 2024-09-22 17:57:17 +09:30
ios-overview.md style: Enable vscode spellcheck and fix typos/style (#2888) 2025-02-27 00:55:02 -06:00
linux-overview.md update: screencopy documentation in Linux Overview (#3144) 2025-11-10 23:32:40 +10:30
macos-overview.md update: macOS Overview for macOS 26 (#3132) 2025-09-20 17:26:16 -05:00
qubes-overview.md fix: Update last criterion on MFA tools page (#2618) 2024-06-26 12:36:38 +09:30