If you run a Node.js server, start it with --permission and grant only what it n...

@sitnik_en@mastodon.social

If you run a Node.js server, start it with --permission and grant only what it needs:

— No network access if it only reads files
— Limit file access to the directories it actually uses

Here's how I locked down Slow Reader's server:
github.com/hplush/slowreader/c