
Security
Security Headers Set From a Rust Web Service Step by Step
Set the HTTP response headers that harden a web service: Content-Security-Policy, X-Content-Type-Options, Strict-Transport-Security, Referrer-Policy and more, applied with tower-http in Axum.
2 min read