Tag Archives: Security

Node.js Secure Coding – Disabling Authentication

This is a snippet of a function that performs user authentication (login). What’s wrong here? module.exports.authenticate = function(req, res, next) { if (env !== ‘production’) { return next(); } … Give up? You want to default to a more secure … Continue reading

Posted in Software | Tagged , | Leave a comment