We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
When you want to jail a process you're gonna need to chroot them (you need to be root to use chroot).
var daemontools = require('daemon-tools'); daemontools.chroot("/home/dan/inscure_app"); process.chdir("/");
This will make all file accesses appear to be / even though it's actually /home/dan/inscure_app.