Adding security headers to the virtual host This procedure applies to IBM HTTP Servers only. Log on to the WebSphere Administrative Console. Click Server > Server Types > Web Servers. Select the Web Server. In Additional Properties, click Configuration File. Locate the virtual host. Specify the Security Headers: Header set Content-Security-Policy "frame-ancestors 'self'" Header set X-Frame-Options "SAMEORIGIN" Header unset X-Powered-By Header set X-Content-Type-Options "nosniff" Click OK. Click Apply. In the messages box, click Save. Restart the web server.