3 ms·
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 i
by kartickv 10y ago
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.