# Security Headers (Helmet)

> Name the important HTTP security headers, explain what each does, and show how you would set them in an Express app.

Canonical: https://www.internhack.in/learn/interview/web-security/security-secure-headers
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

Name the important HTTP security headers, explain what each does, and show how you would set them in an Express app.

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, frame-ancestors, Helmet

Previous: [Rate Limiting & Brute Force](https://www.internhack.in/learn/interview/web-security/security-brute-force-rate-limiting) · Next: [Bcrypt: Salt & Cost](https://www.internhack.in/learn/interview/web-security/security-bcrypt-salting-work-factor) · [All of Web Security (OWASP, JWT, XSS, CSRF)](https://www.internhack.in/learn/interview/web-security)

## More Web Security (OWASP, JWT, XSS, CSRF) questions

- [OAuth 2.0 & OpenID Connect](https://www.internhack.in/learn/interview/web-security/security-oauth2-flows)
- [Session Fixation](https://www.internhack.in/learn/interview/web-security/security-session-fixation)
- [SSRF (Server-Side Request Forgery)](https://www.internhack.in/learn/interview/web-security/security-ssrf-vulnerability)
- [Clickjacking](https://www.internhack.in/learn/interview/web-security/security-clickjacking-protection)
- [Sanitizing vs. Validating](https://www.internhack.in/learn/interview/web-security/security-sanitizing-inputs)
- [Broken Access Control](https://www.internhack.in/learn/interview/web-security/security-broken-access-control)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Web Security (OWASP, JWT, XSS, CSRF)](https://www.internhack.in/learn/interview/web-security)
