tencent cloud

Feedback

Setting Hotlink Protection

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.
    1. 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:
      1. Click Generate to generate a hotlink protection key.
      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.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support