3 ms·
If they came up with a good security model for applications, that would be a big step forward. Capabilities are a mechanism, not a model. Somebody has to decid
by Animats 11y ago
If they came up with a good security model for applications, that would be a big step forward. Capabilities are a mechanism, not a model. Somebody has to decide who gets which capabilities. That mechanism needs to be understandable by the user. For example,
Privileges for a game:
- Can use full screen.
- Can read own content installed with app.
- Can read/write persistent storage associated with app.
- Can communicate with domain "thisgame.ea.com".
- Cannot run in background, access address book, ...
Word processor:
- Can access files mentioned in user file dialogs (file dialogs being run from a separate process).
- Can transmit requests to send mail to app "mail".
For any app which accesses information outside its own content and own persistent storage, the user should have the options "allow", "deny", and "fake". If a program asks for address book access and won't run without it, you can give it the "fake" option, which gives it access to a dummy address book. (I've seen something like this demoed for jailbroken Android phones.)
- arthurfm 11y ago> I've seen something like this demoed for rooted Android phones The amount of data XPrivacy [1] can fake is impressive. It's a shame it isn't a built-in feature. [1] https://github.com/M66B/XPrivacy#features https://github.com/M66B/XPrivacy#features
- Animats 11y agoThe biggest problem is the UNIX and Windows tradition that programs have all the rights of the user running them. Today, they should start out with the rights to read their own installed stuff, access their own private read/write prefs area, and use temp files. Anything more than that is at the discretion of the user.