Web Security
Tool
- Qualys
- Cenzic
Configuring Apache
To configure Apache to send the X-Frame-Options header for all pages, add this to your site's configuration:Header always append X-Frame-Options SAMEORIGIN
Configuring nginx
To configure nginx to send the X-Frame-Options header, add this either to your http, server or location configuration:add_header X-Frame-Options
SAMEORIGIN;
Configuring IIS
To configure IIS to send the X-Frame-Options header, add this your site's Web.config file:<system.webServer>
...
<httpProtocol>
<customHeaders>
<add name="X-Frame-Options" value="SAMEORIGIN" />
</customHeaders>
</httpProtocol>
...
</system.webServer>
评论
发表评论