Recommended way to pass permissions? #31754
Replies: 2 comments
-
|
I'd recommend writing them down in deno.json. There is a security risk with it, but the alternative is writing them in manually each time. I'd recommend though either dedicating a subdirectory to where the code can read and write and not allowing it to write its own deno.json |
Beta Was this translation helpful? Give feedback.
0 replies
-
Specifying permissions in the config file is the recommended way. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! In the deno.json documentation, it mentions the security risk that comes with writing down the permissions
I would like to ask if there is a recommended method to pass the permissions? I suppose adding the --allow-fs in the package.json scripts has a similar security problem.
Beta Was this translation helpful? Give feedback.
All reactions