Minimum viable stack: (1) Strict-Transport-Security with max-age=31536000, (2) X-Content-Type-Options: nosniff, (3) Referrer-Policy: strict-origin-when-cross-origin, (4) X-Frame-Options: DENY or CSP frame-ancestors ‘none’. Add Content-Security-Policy once you know your resource origins. Add Permissions-Policy denying unused features (camera, microphone, geolocation). This 5-header stack blocks 80% of the common browser-side attack classes.
All questions