【发布时间】:2016-06-03 04:56:03
【问题描述】:
我想在我的应用程序中启用 Spring Security XSS 保护。
1) 阅读文档和博客,https://spring.io/blog/2013/08/23/spring-security-3-2-0-rc1-highlights-security-headers/ 表示默认存在 XSS
2) 而http://docs.spring.io/spring-security/site/docs/current/reference/html/headers.html 表示默认不存在
3) 如果我在扩展WebSecurityConfigurerAdapter 的类中的配置方法中使用http.headers().xssProtection():这会禁用所有其他默认标头吗?
【问题讨论】:
标签: spring-security xss