【发布时间】:2015-08-03 19:21:10
【问题描述】:
使用 X-Frame-Options customHeaders - 将多个 uri/domains 添加到 web.config?
。在 web.config 中是否允许使用以下格式附加多个 X-Frame-Options?它有效吗?
【问题讨论】:
标签: x-frame-options custom-headers
使用 X-Frame-Options customHeaders - 将多个 uri/domains 添加到 web.config?
。在 web.config 中是否允许使用以下格式附加多个 X-Frame-Options?它有效吗?
【问题讨论】:
标签: x-frame-options custom-headers
不能使用 X-frame-Options,而是应该使用
<add name="Content-Security-Policy" value="frame-ancestors 'self' yourdomain1.com yourdomain2.com;"/>
【讨论】: