Anti-leech

Last updated:2020-09-08 17:29:38

Anti-leech

In Kingsoft Cloud Standard Storage Service (KS3), you can enable the anti-leech 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 anti-leech 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 * 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, where you can set the anti-leech feature.

image.png
2. Configure the blacklist or whitelist.

  • The following figure shows how to configure the blacklist.

image.png

  • The following figure shows how to configure the whitelist.
    image.png
  1. Specify whether to allow requests without the referer header.
    image.png

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.

问题反馈