Skip to main content

Security

Purpose

Improves the security of your Express.js application by setting various HTTP headers using the helmet library.

Key Feature

  • Adds security-related HTTP headers such as Strict-Transport-Security, X-Frame-Options, and Content-Security-Policy.

Customization

You can configure the Helmet options to enable or disable specific protections.

Location: src/middlewares/securityMiddleware.js

Visit the official documentation for more information.