News for hackers. Stuff that matters.
Re:Goodbye Mac App Store by kartickv on Friday March 10, 2017 @10:50PM (#13844112)
That's too granular, as others have pointed out. It will lead to too many prompts.

Access /foo?

Access /bar?

Access /baz?

But you have the seed of a great idea, which is that the app developer should explicitly request permission, so that they can request it once in a way that covers all the folders they need, rather than one by one. Like:

if requestAccess("~/Documents") == ALLOWED {

// Do the work.

} else {

print "Sorry, the app needs access to your documents"

}

The key thing is that all apps start with zero permissions, and escalate their access only when needed, rather than starting with full permissions, as happens today, which is insecure.

There are no comments on this comment yet.