Anti-leech

Last Updated: Nov 26, 2017

Introduction

  • The anti-leech function is based on the HTTP referer mechanism where the referer, namely an HTTP header field, is used for source tracking, source recognition and processing. You can configure a referer black list or white list to identify and filter visitors in order to limit access to your CDN resources.

  • Currently, the anti-leech function supports the black list or white list mechanism. After a visitor initiates a request for a resource, and the request arrives at a CDN node, the CDN node filters the identity of the visitor based on the presets of the anti-leech black list or white list. If the identity complies with the rules, the visitor can access the requested resource; if the identity does not comply with the rules, the request is forbidden and a 403 response code is returned.

Note:

  • This function is optional and is disabled by default.

  • To enable this function, you can select Refer Blacklist or Refer Whitelist to edit. You can only select one of these options to edit.

  • A null Referer field can be used to access resources on a CDN node (that is, whether a web browser can use its URL to directly access resources on a target URL).

Operation procedure

  1. Log on to the CDN console.

  2. On the left-side navigation pane, click Domain Names.

  3. Select a domain to enter the management page and find RAM.

77

Thank you! We've received your feedback.