News for hackers. Stuff that matters.
Re:Devuan considers machine IDs by amelius on Saturday March 30, 2019 @01:12PM (#19530540)
That's basically how smartphones do it.

The problem is still that the granularity is not right (except for users who simply want to trust the application). For example, when uploading a photo, I don't want to give Facebook access to my entire filesystem, just the photo that I click. And I don't want to give Facebook access to my camera indefinitely, just now.

It will require a lot of design to get security right without deteriorating the UX too much.

But I agree, it's better than simply blocking everything.

Re:Devuan considers machine IDs by amaccuish on Saturday March 30, 2019 @05:25PM (#19531960)
> For example, when uploading a photo, I don't want to give Facebook access to my entire filesystem, just the photo that I click. And I don't want to give Facebook access to my camera indefinitely, just now.

FYI that's exactly how iOS does it. When you choose a picture to upload from the camera roll, the target app only gains access to that one photo.

Re:Devuan considers machine IDs by qmarchi on Saturday March 30, 2019 @01:35PM (#19530657)
> I don't want to give Facebook access to my entire filesystem,

Android's systems of intents and changing how storage security works in Android Q will help with this somewhat. They start expressly prohibiting access to the full filesystem and images and other intent extras must be passed through the intent call, rather than a reference to it on the filesystem.

Re:Devuan considers machine IDs by amelius on Saturday March 30, 2019 @02:25PM (#19530905)
That sounds great. But what I really want is if the app does want access to the entire filesystem, then the OS will present the app with a sandboxed filesystem, instead of just blocking the app (causing the app to refuse to work, which is what will happen in practice).