A security middleware library for popular Rust web frameworks.
-
ntex-helmet
is a security middleware for thentex
web framework. -
actix-web-helmet
is a security middleware for theactix-web
web framework. Coming Soon -
rocket-helmet
is a security middleware for therocket
web framework. Coming Soon -
warp-helmet
is a security middleware for thewarp
web framework. Coming Soon -
axum-helmet
is a security middleware for theaxum
web framework. -
helmet-core
is the core library that the other packages are built on. It can be used to build a security middleware for any web framework.
It works by setting HTTP headers for you. These headers can help protect your app from some well-known web vulnerabilities:
- Cross-Origin-Embedder-Policy
- Cross-Origin-Opener-Policy
- Cross-Origin-Resource-Policy
- Origin-Agent-Cluster
- Referrer-Policy
- Strict-Transport-Security
- X-Content-Type-Options
- X-DNS-Prefetch-Control
- X-Download-Options
- X-Frame-Options
- X-Permitted-Cross-Domain-Policies
- X-XSS-Protection
- X-Powered-By
- Content-Security-Policy