tencent cloud

Video on Demand

Setting Hotlink Protection

PDF
Focus Mode
Font Size
Last updated: 2022-08-04 16:07:08
VOD offers hotlink protection solutions that allow you to use a key or referer field to control playback permissions.
Note:
Once configured, it will take around 5 minutes for the hotlink protection to take effect on all CDN nodes.
1. Log in to the VOD console and select Application Management on the left sidebar.
2. Find the target application and click its name.
3. Select Distribution and Playback > Domain Name on the left sidebar.
4. Click Set in the row of the target domain name to enter the configuration page.
5. Under the Access Control tab, toggle on Referer Hotlink Protection, and complete the following settings:
Whether to allow empty referer
Referer Type: If you select Blocklist, the domains entered will be blocked; if you select Allowlist, only requests from the domains entered will be accepted.
6. Click Confirm.
Note:
For more information, see Referer Hotlink Protection.
1. Log in to the VOD console and select Application Management on the left sidebar.
2. Find the target application and click its name.
3. Select Distribution and Playback > Domain Name on the left sidebar.
4. Click Set in the row of the target domain name to enter the configuration page.
5. Under the Access Control tab, toggle on Key Hotlink Protection, and complete the following settings:
5.1 Click Generate to generate a hotlink protection key.
5.2 Copy the key.
6. Click Confirm.
Note:
For more information, see Key Hotlink Protection.
Currently, the preview feature of key hotlink protection does not support audio files.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback