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
Web application for visualizing live GPS locations on an SVG world map using honeypot captures.
Cybersecurity conference featuring talks on various hacking topics by industry experts.
A tool to easily automate and multithread your pentesting and bug bounty workflow without any coding
AI-powered assistance feature in Windows for enhanced productivity.
A comprehensive server cryptographic protocol analyzer with API and CLI interface.
Utilize the kernel's CSPRNG for generating crypto keys instead of userspace CSPRNGs to avoid randomness failures.
A collection of CTF source files and write-ups that anyone can contribute to
PINNED
InfoSecHired
An AI-powered career platform that automates the creation of cybersecurity job application materials and provides company-specific insights for job seekers.
Fabric Platform by BlackStork
Fabric Platform is a cybersecurity reporting solution that automates and standardizes report generation, offering a private-cloud platform, open-source tools, and community-supported templates.
Mandos Brief Newsletter
Stay ahead in cybersecurity. Get the week's top cybersecurity news and insights in 8 minutes or less.
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.
Aikido Security
Aikido is an all-in-one security platform that combines multiple security scanning and management functions for cloud-native applications and infrastructure.
Permiso
Permiso is an Identity Threat Detection and Response platform that provides comprehensive visibility and protection for identities across multiple cloud environments.
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.
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.