6CFNBL5LBZNP7CHANCXUZY5RQYREPSR6SQIKIWFLFXS4JU26KIWAC
pub fn insert_security_headers(mut response: HttpResponseBuilder) -> HttpResponseBuilder {
response
.insert_header((actix_web::http::header::X_FRAME_OPTIONS, "DENY"))
.insert_header((
actix_web::http::header::CONTENT_SECURITY_POLICY,
"default-src 'none'; frame-ancestors 'none'; object-src 'none'; script-src 'none'; style-src 'self'; img-src 'self'",
))
.insert_header((actix_web::http::header::REFERRER_POLICY, "same-origin"))
.insert_header((actix_web::http::header::X_XSS_PROTECTION, "1; mode=block"));
response
}