you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 8 hours ago (3 children)

I think a big part of the solution of this entire problem is some form of sandboxing. That way, if one of your sandboxes gets a virus, it won't have access to information that is outside of that sandbox, and you can delete the virus by deleting the sandbox. At least in Linux, when you install something as a flatpak, it's automatically in a sandbox. Another example is that some game launchers can automatically launch games in their own sandbox.

Of course, then you have the issue that certain programs have access to tons of personal data and also get used all over the place, like web browsers. Even if you install those in sandboxes, I'm not sure how you can protect yourself, apart from really locking it down and then vigilantly cleaning the directories that they can see. But that's a lot of extra work. A good solution would be more automatic.

  • source
  • hideshow 3 child comments
  • [–] 7 points 7 hours ago (1 child)

    At least in Linux, when you install something as a flatpak, it’s automatically in a sandbox. Another example is that some game launchers can automatically launch games in their own sandbox.

    Even then, however, often you have to give those flatpaks access to more system resources to work, which reduces the effectiveness of the sandbox and give viruses other paths to escape from. It's not a lot of flatpaks I've had to do this with, but for the ones I have, it's been a pain and a little bit frustrating that I have to open access to certain system/user files for it to work.

    Also, I've just had trouble with certain flatpaks and their packaging for a long time now, but I've had various issues that are frustrating with both flatpaks and appimages that I simply don't have when installing from the apt repository. Sandboxing is useful in certain cases for sure, but maybe not for everything sadly.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 7 hours ago

    So, the way I see it, there are three layers of managing security for sandboxes. There is the developer. There is the distribution system. And then, there is the user.

    Flathub gives warnings at the top of each app's page. Ideally, they'd block publishing of apps that need a dangerous amount of permission, rather than just warning the user, but I understand why they don't. I think they need like a flatpak secure mode that removes dangerous settings when installing a flatpak, and then they add to the top of their pages which apps don't work with their safe installs.

    I think then, that the future of flatpak security could evolve to alleviate the problems you mentioned. For one, as flatpak adoption increases, developers will end up at least looking at their flathub pages and have a desire to reduce those warnings.

    Because right now, too much burden is placed on the user. I'm hoping that the technology will evolve to put all of the burden on the developer and the distribution system.

  • source
  • parent