Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 X-Frame-Options customHeaders - 将多个 uri/域添加到 web.config?
. 在 web.config 中是否允许使用以下格式附加多个 X-Frame-Options?它有效吗?
X-frame-Options 不可能,您应该使用
<add name="Content-Security-Policy" value="frame-ancestors 'self' yourdomain1.com yourdomain2.com;"/>