Using the CSP Manager plugin you can restrict access to site resources. Example you can set only images form this domain name or another domain name (like a CDN) to be loaded.
A good reference for how this works is here: https://content-security-policy.com/