3 ms·
If you want to get there, I wouldn't start from here. The problem is, from the status quo we have today it's hard to see how we'd get to a point of security wi
by michaelt 5y ago
If you want to get there, I wouldn't start from here.
The problem is, from the status quo we have today it's hard to see how we'd get to a point of security without sacrificing general purpose computing.
After all, it's either possible for the user to promote an application to equal the power of the OS, or it isn't.
Oh, sure, you could make it mandatory to ask permission before getting that power. But many security people think we need a system that's secure even in the face of a gullible user who will click through any warning. And there are thousands of applications that enjoy unlimited permissions today; for them, asking for maximum permissions will be the path of least resistance.
The alternative is the iPhone approach: Every app in a sandbox, and no way out of the sandbox even with the user's consent.
- foxpurple 5y agoThere are different methods of security, one where you assume the user is trusted but that the programs are not and one where you assume the user and the programs are not trusted. iOS is the second version. Linux with flatpak and SELinux is the first one. It is certainly possible to secure Linux a lot while still allowing the user to tweak whatever they want. There is a tool called flatseal which lets you adjust the sandbox settings for any Flatpak.
- mimi89999 5y agoWell, the problem is that many desktop workflows require data passing through many apps. How would you do that on the iOS model?
- wolrah 5y agoiOS apps can be given access to files and folders created in other apps. I have no idea when this was added, I didn't use iOS between 3.x and 14.x, but it's there. https://juno.sh/ios-file-system/ https://juno.sh/ios-file-system/ for some info about how it works from the perspective of an application that might need to access other apps' data.
- foxpurple 5y agoiOS has 2 solutions to this. They have a push models where you “share” the file to the next app you want to use. And they also have a traditional file store model where all apps can request to save and request to load files. Critically, apps can not directly read your files, they can show a button which will open the OS file picker and the user can pick a file to open which then provides access to the app. This means that opening a game does not instantly expose all of your sensitive files.
- iggldiggl 5y ago> Critically, apps can not directly read your files, they can show a button which will open the OS file picker and the user can pick a file to open which then provides access to the app. Unfortunately this model breaks down for any kind of file type that doesn't simply consist of a single, atomic file, e.g. various constellations of media files (playlists, subtitles, multi-part videos), multi-part archives, HTML files, georeferenced imagery with sidecar files, etc. etc.