Relinquish Process Privileges in Node.js
💡 Running Node.js as root so you can bind to ports 80/443?
👉🏼 You can relinquish privileges with "process.setuid()" & "process.setguid()" to reduce the damage potential in case of a breach. Do this right after the app starts.
Download the VPS Security Cheatsheet
No spam! 🙅🏻♀️ Unsubscribe at any time.