Grade + exact configs

HTTP security headers

Grade a website's security headers and get the exact lines to add for Apache, Hostinger, cPanel or Nginx.

Questions

Where do I add these headers?

On Hostinger, cPanel and most Apache hosting, add the lines to the .htaccess file in your site's main folder (back it up first). On WordPress you can also use a security plugin. On Nginx, add them inside the server block and reload.

Will a Content-Security-Policy break my site?

A strict one can, if it blocks scripts your site needs. Start with the basic policy shown, or test with Content-Security-Policy-Report-Only first, then tighten it.

Is this check safe for the website?

Yes. We make one normal request (plus one to test the HTTP to HTTPS redirect) and read only the response headers.

More security tools