I want to enable Spring Security XSS protection in my application.
1) Read docs and blogs, and https://spring.io/blog/2013/08/23/spring-security-3-2-0-rc1-highlights-security-headers/ indicates XSS is there by default
2) And http://docs.spring.io/spring-security/site/docs/current/reference/html/headers.html indicates it is not there by default
3) If I use http.headers().xssProtection()
in my configure method in an class extending WebSecurityConfigurerAdapter
: does that disable all the other default headers?
1; mode=block
source – Veinstone