• Victor@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    So Flatpak’s “security measures” are basically completely useless, is what I am to understand?

    • hirihit640@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 days ago

      The only thing I really use them for is to disable internet for open source applications that I trust aren’t malicious, but might still have telemetry in them.

      However don’t let perfect be the enemy of good. Flatpak permissions are a step forward, at the very least defining a permission framework. Initially, permissions were defined but every app had all permissions, since app devs were lazy. Now, app devs are being better about defining what permissions are needed. In the future I imagine that Linux and Flatpak will lock down the security, making the permissions more concrete.

      It’s a step by step process.

      • Victor@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        Then I’ll keep installing software I need but don’t necessarily trust using Flatpak 👌

    • who@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 days ago

      They’re useful like a lock on a door is useful. They protect from some circumstances, but not all, and won’t stop a skilled attacker.

      If you’re determined to let hostile code execute on your hardware, you should get yourself some dedicated hardware for that purpose, isolate it from your network, and never use it for anything else. A game console, for example.

        • who@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          From weakest to strongest protection:

          1. Containers can refer to a variety of things, but most are based on Linux namespaces, with weaknesses similar to Flatpak.
          2. Hypervisor-based virtual machines will usually provide better isolation than containers, but not perfect or foolproof.
          3. Dedicated hardware, without any way to reach systems you wish to protect, is better still.
          4. Don’t allow hostile code to run at all.

          VFIO gaming falls somewhere between 1 and 2.

          You’ll have to decide for yourself how to balance risk, reward, and cost with your threat model.

          • Victor@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 days ago

            Makes sense.

            I’m running Heroic launcher anyway but thanks for all the info! You settled my curiosity. 😊