Cross Domain Policy Header Test

Check if your site is implementing a Cross-Domain policy

About Cross Domain Policy

The Cross Domain Policy Test tool checks for the presence of cross-domain security policy in the HTTP headers returned by your website. For those who are not aware, the cross-domain headers tell the browser what kind of policy the server has set up for Ajax requests that are not directed from the same domain. “Same domain” in this case means that if the given web page was loaded on mydomain.com, for example, if it sends requests to api.mydomain.com, these requests will be blocked. The same is true for requests sent to mydomain.com:8000, which is not treated as “same domain” because the port is different.

Why you should care?

Restricting browser requests to the same domain is a great idea in Web security. It prevents, for example, malicious scripts from sending information to other domains. That said, it’s not always possible to work within this restriction. Modern applications are deployed as Single Page Applications (SPA), where the frontend is on a completely different domain/port from the server-side of the application. In such cases, having cross-domain headers that tell the browsers to trust some/all domains for incoming requests is a must.

As a result, if these headers are missing (perhaps you forgot them?) the website will stop working for the cross-domain requests.

Check out this implementation guide if you need help in the configuration.

Hand-picked best resources to supercharge your Website and Business

More tools for your Website

Latest Articles

image

7 Best Document Management Software for SMB in 2022

Posted in Growing Business on May 10, 2022

image

Wi-Fi Repeater vs Extender: Which One Should You Buy?

Posted in Performance, Smart Things on May 10, 2022

image

How to Scan and Fix Log4j Vulnerability?

Posted in Security, Sysadmin on May 10, 2022

image

3 Ways to Multiply Matrices in Python

Posted in Development, Python on May 9, 2022

image

13 Spend Management Solutions for Small to Big Businesses

Posted in Growing Business on May 9, 2022

image

8 Best E-Prescribing Software for Doctors in 2022

Posted in Smart Things on May 9, 2022

Power Your Business

image

Web scraping, residential proxy, proxy manager, web unlocker, search engine crawler, and all you need to collect web data.

Try Brightdata

image

Managed WordPress hosting that prioritizes your business and reputation by providing topnotch service

Try Kinsta

image

Cloud Computing Platform for small to enterprise to host web applications, complex apps, mobile apps, and more.

Try Linode

image

Semrush is an all-in-one digital marketing solution with more than 50 tools in SEO, social media, and content marketing.

Try Semrush