3 ms·
Something akin to the web's permissions notifications “This app wants to access ~/Images/ do you want to allow it. Checkbox: I want to remember this” and a cent
by littlestymaar 6y ago
Something akin to the web's permissions notifications “This app wants to access ~/Images/ do you want to allow it. Checkbox: I want to remember this” and a centralized permission manager ?
- mavhc 6y agoPassing responsibility of not distributing evil software from the gatekeepers to the user. Ignores half the point of having a distribution that has a package manager, curated software.
- oblio 6y agoSo the solution is to have the package manager decide things for every user?
- diffeomorphism 6y agoYes, the point is to have the package manager set sane defaults for every user. Say you distribute a video app. It is completely counterproductive to have every user click on a permission dialog "I allow this video app to open videos". This only trains users to blindly allow everything to make software, you know, work at all. A much more sane approach would be to enable access to ~/videos and other reasonable places at install time and only ask for additional permission when needed.
- lokedhs 6y agoFlatpak allows this, but requires changers to the application so that it calls the correct API's when requesting files outside of the allowed directories. The article does highlight some actual issues, but the author implies that the solution is to simply not use it at all and go back to the free for all smörgåsbord of access rights that an application installed from the regular repositories have. Personally, I consider Flatpak the best solution available right now time minimise the attack surface for anyone not willing yo go all the way and run Qubes OS. If there is a better alternative I'd be happy to hear it, since I cannot run Qubes one of my machines.
- hnedeotes 6y agoWhy can't they be complementary?
- eeZah7Ux 6y agoBecause distributions don't need flatpak. There are already methods to do sandboxing like systemd and firejail.
- hnedeotes 6y agoAh sure, I was referring to the: > Passing responsibility of not distributing evil software from the gatekeepers to the user. As in, we can have gatekeepers but also force software to define explicit access policies. Like, maybe a program that needs regularly files will create a folder where they have access to files and any files placed there afterwards can be used by the program without asking for access. For all other files/folders it would ask for specific access, and the access could be given as session based or normal and apply to the selected files only? Having a default folder (per application) could then be used by programs like word processors or wtv to have a place to save automatically so the ux doesn't suffer in the basic case. Saving files outside authorised folders would not need permission unless they were overwriting a file that wasn't permitted previously, but access to other things in a non permitted folder would require permission still? This could live with existing package managers curation and sandboxing, but even if the programs somehow got into a compromised state they would be limited?
- mavhc 6y agoWhat's the point though? Either the software is evil/has a bug that lets it steal all your data, or it doesn't. Making each app have its own filesystem just forces a weird file structure where you don't have a folder for a project, but for an app. Whose projects only consist of one type of files? If the app is a web browser then fair enough, but what other apps would that be useful for?
- hnedeotes 6y ago
- foobar33333 6y agoFlatpak is a package manager which supports repos exactly like traditional package managers. The biggest repo is flathub and there is also one for fedora which is a little more vetted but contains less software.
- diffeomorphism 6y agoIn practice this has the same effect as windows vista had. You train users to immediately click away the annoying popups without reading them.
- darkwater 6y agoOr any Android/iOS users (which is perfectly normal, people want to use the app, not being constantly vigilant of not being pwned)