Let's say, the HTTP security headers below are applied to all HTML pages of a site:
- HTTP Strict Transport Security (HSTS)
- X-Frame-Options (XFO)
- X-XSS-Protection
- X-Content-Type-Options
Is it OK to not put those HTTP security headers on non HTML resources (images, JavaScript files, etc) but those headers are applied to all HTML resources.
Any security risks for that?