Forum Discussion
stupid48
Mar 02, 2023Altocumulus
ASM: Need to add HTTP security headers for response and blocking pages
Hi there, We are needing to turn on security headers for ASM response and blocking pages. There is a KB (K25232031 ) that mentions it being enabled by default for version 16.0.0. We are running a ...
Juergen_Mang
Mar 03, 2023MVP
K25232031 is interesting, thanks for the link.
About X-XSS-Protection: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection
About X-Frame-Options: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
Adding a simple Content-Security-Policy will be the better way. I do not tested it, but this shoud suffice:
Content-Security-Policy: default-src 'self'; frame-ancestors 'self'
P.S.: I always change the Response Code to 403
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects