express-enforces-ssl Logo

express-enforces-ssl

0
Free
Visit Website

This simple module enforces HTTPS connections on any incoming requests. In case of a non-encrypted HTTP request, express-enforces-ssl automatically redirects to an HTTPS address using a 301 permanent redirect. express-enforces-ssl also works behind reverse proxies (load balancers) as they are for example used by Heroku and nodejitsu. In such cases, however, the trustProxy parameter has to be set (see below) Usage First, install the module: $ npm install express-enforces-ssl --save Afterwards, require the module and use the HTTPS() method: var express = require('express'); var http = require('http'); var express_enforces_ssl = require('express-enforces-ssl'); var app = express(); app.enable('trust proxy'); app.use(express_enforces_ssl()); /* Routes Here */ http.createServer(app).listen(app.get('port'), function() { console.log('Express server listening on port ' + app.get('port')); }); LICENCE MIT

FEATURES

ALTERNATIVES

Community-driven collection of open source tools being archived with limited support.

Database protection suite with field-level encryption and intrusion detection

Guidance on securing NFS in Red Hat Enterprise Linux 7

Online cybersecurity conference with speakers' talks and interactive Q&A sessions.

Protect against Prototype Pollution vulnerabilities in your application by freezing JavaScript objects.

A command-line tool for parsing, creating, and manipulating JWT tokens

Free tools for the CrowdStrike customer community to support their use of the Falcon platform.

A comprehensive platform for software developers to learn, create, and optimize applications for Arm-based processors

PINNED

InfoSecHired Logo

InfoSecHired

An AI-powered career platform that automates the creation of cybersecurity job application materials and provides company-specific insights for job seekers.

Commercial
Resources
Mandos Brief Newsletter Logo

Mandos Brief Newsletter

A weekly newsletter providing cybersecurity leadership insights, industry updates, and strategic guidance for security professionals advancing to management positions.

Free
Resources
Kriptos Logo

Kriptos

An AI-driven data classification and governance platform that automatically discovers, analyzes, and labels sensitive information while providing risk management and compliance capabilities.

Commercial
Data Protection
System Two Security Logo

System Two Security

An AI-powered platform that automates threat hunting and analysis by processing cyber threat intelligence and generating customized hunt packages for SOC teams.

Commercial
Security Operations
Aikido Security Logo

Aikido Security

Aikido is an all-in-one security platform that combines multiple security scanning and management functions for cloud-native applications and infrastructure.

Commercial
Application Security
Permiso Logo

Permiso

Permiso is an Identity Threat Detection and Response platform that provides comprehensive visibility and protection for identities across multiple cloud environments.

Commercial
IAM
Wiz Logo

Wiz

Wiz Cloud Security Platform is a cloud-native security platform that enables security, dev, and devops to work together in a self-service model, detecting and preventing cloud security threats in real-time.

Commercial
Cloud Security
Adversa AI Logo

Adversa AI

Adversa AI is a cybersecurity company that provides solutions for securing and hardening machine learning, artificial intelligence, and large language models against adversarial attacks, privacy issues, and safety incidents across various industries.

Commercial
AI Security