A security middleware library for popular Rust web frameworks.
-
ntex-helmetis a security middleware for thentexweb framework. -
actix-web-helmetis a security middleware for theactix-webweb framework. -
rocket-helmetis a security middleware for therocketweb framework. Coming Soon -
warp-helmetis a security middleware for thewarpweb framework. Coming Soon -
axum-helmetis a security middleware for theaxumweb framework. -
helmet-coreis 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