• scholar@lemmy.world
    link
    fedilink
    English
    arrow-up
    93
    ·
    14 hours ago

    Every program ideally should be in a sandbox and if it wants permission to access something it should have to ask for it.

    • Default Username@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      46
      ·
      13 hours ago

      Kind of like Android or iOS.

      Flatpak tries to accomplish this on Desktop, and it works, but isn’t as comprehensive as something like Android or iOS.

      On the extreme side, there is QubesOS, which runs every app in a dedicated virtual machine, including the networking stack.

          • Elvith Ma'for@feddit.org
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 hours ago

            Only downside: Initially the creator of a Flatpack defines how it is sandboxed. For Steam it’s rather permissive. It’s not like on mobile where you get asked for permission for everything potentially dangerous/privacy invading, but rather like the earlier days on mobile where you install a Flatpack and implicitly allow all permissions it wants.

            An update might change the permissions or introduce new ones. You can use tools like Flatseal to change the permissions of installed Flatpack apps, but keep in mind that those changes will probably be gone after the next update and can introduce problems.

            In the end, sandboxing something like Steam is hard, as you not only need to think about Steam’s permissions, but also any game you might run from it…