|
|
|
|
|
by sramam
2231 days ago
|
|
Permissions are a whitelist. While the grant is a blanket grant to a program and all dependencies, typically, a well behaved program will seek a limited scope of permissions.
Like "https://my-program.com", "https://preferred-analytics.com" etc. This prevents dependencies from using call back locations that are outside
the permitted list, preventing much of the nefarious activity they can dream up. If a dependency needs access to specific resources, it can advertise this fact and the parent module can in turn request this from the user. Importantly, the user is explicitly aware of these & controls it in an absolute sense, at run time. |
|