Hacker News new | ask | show | jobs
by perlgeek 655 days ago
> For desktop users who just want sandboxed applications, I don't think Red Hat's SELinux implementation does much to protect them

Does, like, anything on mainstream Linux distributions really sandbox applications by default? Let's say I run a browser, a mail client, Signal, Discord, whatever on my laptop. If one of them has a code execution vulnerability, does anything prevent that app from reading/writing all of my home directory, take screenshots, send keystrokes to other applications etc?

I haven't used anything but Linux on my laptops and PCs for at least a decade, and I genuinely don't know the answer. Back when I started with Linux, the answer was surely a "no", but maybe anything something has improved in this regard?

1 comments

Flatpak apps are sandboxed to some degree, it is pretty common for them to request access to a bunch of locations they don't really need so that the developer doesn't have to make any code changes from the non flatpak version.

I don't know much about the specifics but I think Wayland fixes a lot of the security problems related to keylogging and screenshoting.