Differences between sandboxing an AppImage vs using Flatpak version #1189
-
I never really used the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I don't use AppImage sandboxing either, to be honest:
For everything else, I'll let @Samueru-sama and @mgord9518 speak |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm the maintainer of aisap. Aisap permissions are somewhat "Flatpak inspired" but aren't the same. With aisap, you have a "base level" which essentially just allows read access to different system configurations. Level 3 is the highest, only giving access to basic libraries, /bin, etc. It should primarily be used for CLI/TUI apps. Level 2 is intended for most GUI apps, it also gives access to system themes, etc. Level 1 is the least secure, it's intended for everything that for one reason or another, does not work properly with level 2. It gives full read access to /usr, /sys, /etc, all device files and a few others. It should only be used when nothing else can make the application function properly No base level gives access to user files though (besides fonts and themes). Then there are other permissions, such as sockets, devices, etc. Aisap stores all the app's files into a portable home folder which is compatible with AppImage (except for those explicitly requested by the permissions) |
Beta Was this translation helpful? Give feedback.
-
Worth mentioning that we use aisap a bit differently. By default we deny access to all the xdg user directories (~/Downloads, ~/Documents, etc) and ask the user which directories they want to give access to. We also give Level 2 to all the AppImages + read access to |
Beta Was this translation helpful? Give feedback.
-
Yeah I agree not everything can be sandboxed, even snap provides means to disable the sandbox, I think lite-xl has been stuck for 2 years trying to make a flatpak of the text editor as well due to having issues with the sandbox. |
Beta Was this translation helpful? Give feedback.
Hello, I'm the maintainer of aisap. Aisap permissions are somewhat "Flatpak inspired" but aren't the same. With aisap, you have a "base level" which essentially just allows read access to different system configurations.
Level 3 is the highest, only giving access to basic libraries, /bin, etc. It should primarily be used for CLI/TUI apps.
Level 2 is intended for most GUI apps, it also gives access to system themes, etc.
Level 1 is the least secure, it's intended for everything that for one reason or another, does not work properly with level 2. It gives full read access to /usr, /sys, /etc, all device files and a few others. It should only be used when nothing else can make the applicatio…