|
|
|
|
|
by aabbcc1241
2210 days ago
|
|
The example on permission isn't great.
It said the library you used cannot access your database password from env and send it over the internet unless you allow so. When you're putting database password in the env, most likely you need to permit env var and network access for your database client library. Then at the same time, the library in example can do that malicious thing. The problem here is, deno request the permission per process, not per library import |
|
It's not as fine-grained as allowing libraries specific permissions, but it gets you part of the way there.