Hotlink Protection
You can use hotlink protection to prevent unauthenticated websites from implementing your static resources by authorizing certain domains or URLs to retrieve your static resources.
Set up trusted domains
First navigate to the settings of your CDN resource via the Settings tab.
Then enter all domains in the Trusted Domains (Hotlink Protection) area, specifying the protocol (http://
or https://
) of your website, which should be authorized to request static resources. Separate several domains per line.
Examples:
value | explanation |
---|---|
http://creoline.com | Authorized http://creoline.com for retrieval |
https://creoline.com | Authorized https://creoline.com for retrieval |
https://www.creoline.com | Authorized https://www.creoline.com for retrieval |
https://account.creoline.com | Authorized https://account.creoline.com for retrieval |
As soon as a rule has been defined in Hotlink Protection, all other requests are rejected with a status code 422. Make sure that you authorize all necessary domains to avoid unwanted behavior.
Similar articles
Was this page helpful?
On this page