-1

使用 X-Frame-Options customHeaders - 将多个 uri/域添加到 web.config?

. 在 web.config 中是否允许使用以下格式附加多个 X-Frame-Options?它有效吗?

4

1 回答 1

1

X-frame-Options 不可能,您应该使用

<add name="Content-Security-Policy" value="frame-ancestors 'self' yourdomain1.com yourdomain2.com;"/>
于 2015-08-04T06:06:00.440 回答