Skip to main content

Configure hotlink protection

  1. On the CRE website, log in to the OSS console. fg-dc-oss-3.2.4-1

  2. On the OSS page, select the Buckets tab.

  3. On the Buckets page, select the bucket.

    fg-dc-oss-3.2.4-2

  4. On the details page, click the Basic Settings tab. fg-dc-oss-3.2.4-3

  5. On the Basic Settings tab, click the Configure button in the Hotlink Protection section fg-dc-oss-3.2.4-4

  6. On the Configure section, configure the parameters

  • Enter domain names or IP addresses in the Referer Whitelist field. Separate multiple Referers by using line feed. You can use asterisks (*) and question marks (?) as wildcards.
  • Select whether to turn on Allow Empt y Referer to allow requests in which the Referer field is empty.
  1. On the Configure section, click the Save button.