Hotlink Protection For Static Content
MAS supports hotlink protection via a simple HTTP Referer (sic) header check. Browsers will typically send an HTTP header containing the URL of the page that requested the content. MAS cache nodes can check the HTTP Referer header against a whitelist of allowed referrers to allow or disallow access.
- Login to your MAS account.
- Click on "Configurations" in the top menu.
- Click on the configuration you wish to edit.
- Click on "Hotlink Whitelist" in the left menu.
- Type in the beginning of the URLs of the HTTP Referer header that you wish to allow hotlinking. For example: https://yourwebsite.com or http://yourwebsite.com. If your domain also has a "www" subdomain you will need to add it as well, https://www.yourwebsite.com or http://www.yourwebsite.com.
- Activate your configuration if it is not yet activated.
Please note that while this prevents other sites from embedding your content in their pages, it can easily be circumvented and thus it is not meant to be used as a DRM or content protection solution. If you wish to provide proper content protection, please refer to "DRM Support for Static Content".