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

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 Bash completion script for Android command-line tools

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 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
Fabric Platform by BlackStork Logo

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.

Free
Security Operations
Mandos Brief Newsletter Logo

Mandos Brief Newsletter

Stay ahead in cybersecurity. Get the week's top cybersecurity news and insights in 8 minutes or less.

Free
Blogs and News
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
CyberSecTools logoCyberSecTools

Explore the largest curated directory of cybersecurity tools and resources to enhance your security practices. Find the right solution for your domain.

Copyright © 2025 - All rights reserved