Node.js · Senior · Question 30 of 75

What does the Node.js permission model (--permission) do?

Explanation

For example, --allow-fs-read=/app limits reads to /app. It's defense in depth against compromised dependencies, not a full sandbox.

Further reading

Problem with a question

Node.js · Senior · question 30

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz