Allowing Blank Referers for Social Networks
The following example shows you how to allow blank referers for social network crawlers when HTTP Referer protection is turned on. Social networks use different user agents to access content, so we need to allow blank referer for these user agents...
Read More »
Overriding Whitelisted Referers
A popular MaxCDN content security feature is the HTTP Referer Whitelist, a hotlinking prevention tool. It provides an adequate amount of content security in most cases, but when referers differ by cache location, you may need more control over whi...
Read More »
Removing the Request Header Between MaxCDN and Your Origin
This tutorial will show you how to remove the request header from a request between the MaxCDN edge server and your origin. In some cases, the origin should not generate different versions of the same file, so it’s wise to either disable the pro...
Read More »
How to Manipulate Headers Based on HTTP Referrer
This tutorial will show you how to manipulate headers based on HTTP referrer and/or extract the domain part only from the HTTP referrer used to access CDN assets.
The EdgeRules feature is available only on Enterprise plans.
This rule usu...
Read More »
Allowing Blank Referers for Specific User Agents
In this tutorial, you will learn how to use MaxCDN EdgeRules to only allow blank referrers to certain device types or browsers. This rule is most commonly used to prevent known mobile device misbehaviors while using video streaming. Usually, Andro...
Read More »
Altering Host Header Based on “scheme”
The EdgeRules feature is available only on Enterprise plans.
The following example shows how to handle the request Host header and alter it based on the value in the local NginX variable $scheme. The idea is to use domain-one.com in the Host heade...
Read More »
In order to prevent bandwidth leeching, HTTP Referrer protection can be utilized to explicitly allow certain referrers to access a specified site's CDN assets. However, if aside from explicit allowance of whitelisted referrers a blank one should b...
Read More »
Occasionally, it is desired to hide a specific header from being displayed publicly. This article provides the method and an example on how to do so from the MaxCDN portal.
A rule can be created to hide certain headers so that they are not publicl...
Read More »
95% of questions can be answered using the search tool. This is the quickest way to get a response.