Desktop App Sandboxing

The cluster debates the need for application sandboxing on desktop operating systems like Linux, contrasting it with stronger implementations on mobile platforms such as iOS and Android, and discusses solutions like Flatpak, Snap, and Qubes OS.

➡️ Stable 0.7x Security
3,574
Comments
19
Years Active
5
Top Authors
#9649
Topic ID

Activity Over Time

2008
10
2009
11
2010
24
2011
75
2012
96
2013
55
2014
79
2015
201
2016
176
2017
168
2018
252
2019
249
2020
392
2021
392
2022
238
2023
436
2024
277
2025
412
2026
31

Keywords

X11 XDG e.g AppContainers CLI ubuntu.com AppArmor GUIS core.docs AddressBook sandbox sandboxing sandboxed apps app flatpak applications android windows linux

Sample Comments

oDot Sep 17, 2023 View on HN

Don't the others OS have varying levels of app sandboxing while Linux has basically none?

fjsolwmv Jul 3, 2018 View on HN

That's a rather poor option. Mac App Store and Android for example offers much better sandboxing options.

esseph Dec 1, 2025 View on HN

The problem is you can't trust the app, therefore it must be sandboxed.

Aleman360 Mar 6, 2016 View on HN

This is exactly why sandboxed apps (e.g., iOS/UWP/etc.) are a good thing.

fbelzile Jan 17, 2021 View on HN

No, please no. Make sand-boxing an optional feature the user has control over. Sort of like containerized tabs in Firefox. Not all apps have legitimate reasons for accessing your hard drive, but I'd argue that 90% of them that do, really need to. Let the user decide.

cosmiccatnap Jan 27, 2020 View on HN

That's putting alot of faith in the OS and it's ability to sandbox correctly.

codethief Apr 23, 2025 View on HN

With all apps being sandboxed, though, please!

fsflover Jul 25, 2021 View on HN

You can sandbox apps without stupid UI. Have a look at Qubes OS.

chris_mc Mar 15, 2019 View on HN

I'm starting to think something like flatpak or snap is necessary, but in a more sandboxed way, to enforce on the user level that certain apps won't have access to certain files. I would like to see options to fully sandbox an app (has it's own separate permissions for certain documents) or not sandbox it at all (for things we trust implicitly that need that access).

kalleboo Oct 6, 2016 View on HN

You can have sandboxing without an App Store (macOS supports it)