Configure hotlink protection

Last updated:2021-07-06 15:04:41

In KS3, you can enable the hotlink protection feature by using the blacklist or whitelist. Requests with domain names in the blacklist are blocked, and requests with domain names in the whitelist are allowed. You can manually disable the hotlink protection feature.

Conform to the following rules when you add domain names to the blacklist or the whitelist:

  • Use a comma (,) to separate domain names, without the need to add http://.
  • You can add an asterisk (*) as the wildcard before a domain name to represent multi-level subdomains under the domain name.

Some valid requests do not contain the referer header. Therefore, sometimes you may need to allow requests without the referer header. In KS3, you can specify whether to allow requests without the referer header.

Procedure

  1. Log in to the KS3 console and click Bucket in the left navigation pane. On the Bucket list page, click the name of the target bucket. On the page that appears, click Bucket Settings. On the Bucket Settings tab, click Door Chain.

  2. On the Door Chain tab, click Edit, select Whitelist or Blacklist for Anti-theft Mode, and set Access Domain Name.

  3. Set the Empty Referer parameter at the bottom of the tab.

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈