Other websites can embed your pages invisibly 1. Your site doesn't forbid being shown inside another site's frame, which lets an attacker trick visitors into clicking buttons on your pages without realising it 1.
Why it matters
A few response headers switch on protections built into every browser 1:
- Frame protection stops other websites from loading your pages invisibly inside theirs and tricking visitors into clicking (clickjacking), which matters most on pages with logins, payments or account settings 1.
nosniffstops browsers from guessing a file's type and running something as a script that was never meant to be one 1.
How to tell if this affects you
If your website does not send security headers telling web browsers to restrict framing, other malicious sites can load your web pages inside an invisible frame 1. You can verify this by checking your security assessment report for your domain 1.
Can you fix it yourself?
Yes, most small business owners or their general IT support can fix this by updating website settings or server configurations 1.
What to do
- Add these response headers to your website 1:
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
If you already use a Content-Security-Policy, you can use
frame-ancestors 'self'in it instead ofX-Frame-Options1.Locate the security headers setting or plugin in your website builder or host, or add them as one line each in your web server configuration if you manage your own server 1.
Check your fix
Run a rescan to verify the headers are active 1. Check that any parts of your site that are meant to be embedded elsewhere, such as booking widgets, still work properly 1. If they do not work, allow those specific sites using frame-ancestors 1.
When to get professional help
If your site embeds or is embedded by other services and the security headers break them, a web developer can write a policy that allows exactly what you need 1.
Want to check your business for other common security issues? Run a free check of your business at aeolussecurity.ca.