Hacker News new | ask | show | jobs
by microtonal 2068 days ago
high privacy

If you don't care that random X11 applications (e.g. your browser) can snoop keystrokes and mouse events or make screengrabs of any other X11 application.

But it doesn't matter anyway, because any application can grab any data from your home directory.

Unless you use Flatpak, bubblewrap, or some other sandboxing technology.

Disclaimer: I use Linux 95% of the time. But we should be honest about the shortcomings. Desktop Linux is not secure and you only have privacy if you trust all of your applications.

4 comments

> But we should be honest about the shortcomings. Desktop Linux is not secure and you only have privacy if you trust all of your applications.

No operating system is secure when it comes to installing untrusted applications. The strength of desktop Linux is the vast amounts of available free and open-source software, ergo software that you can actually trust. To my knowledge, no other OS beats that - usually you can't even trust your OS itself these days.

Plus we already have a universally supported sandboxing technology, it's our web browser. I can use Microsoft's software inside a Firefox container when I'm forced to, without giving them access to my home folder, keystrokes/mouse events, etc. Even better, half of the requests those things would make are blocked by uBO.

Everyone who cares about privacy uses Firefox browser for other reasons already so browser was a poor example.

There's also Wayland as a replacement for X11, but granted not all applications support it.

It's not like there isn't a number of screen recording and keylogging tools and/or malware available for any mainstream desktop OS.

Your comment makes it sound like this is a problem that only X11 has.

It's not like there isn't a number of screen recording and keylogging tools and/or malware available for any mainstream desktop OS.

Sandboxed macOS apps (e.g. anything from the Mac App Store) cannot log keystrokes or make screen grabs without the user giving explicit permission to do so.

Fine for open source applications. Sandbox would be improvement.

How can one trust closed source software?