Referer Restrictions
Referer-based hotlink protection refers to access control based on the Referer header.
For example, you can configure a Referer allowlist to allow only specified requests to access your resources or a blocklist to block specified requests. Referer-based hotlink protection identifies and filters user identities and protects your resources from unauthorized access. This section describes how to configure a Referer allowlist or blocklist to enable hotlink protection.
Allow No Referer
If Allow No Referer is ticked, CDN node will not return the requested information and a 403 status code will be returned if the referer field does not exist in a request.
Allow Empty Referer
If Allow Empty Referer is ticked, CDN node will return the requested information if the referer field is empty.
Allow List & Block List
Allow list
If the referer field of a request matches the string configured in the allowlist, CDN node will return the requested information.
If the referer field of a request does not match the string configured in the allowlist, CDN node will not return the requested information and a 403 status code will be returned.
Block list
If the referer field of a request matches the string configured in the blocklist, CDN node will not return the requested information and a 403 status code will be returned.
If the referer field of a request does not match the string configured in the blocklist, CDN node will return the requested information.
Last updated