tencent cloud

Feedback

Setting Hotlink Protection

Last updated: 2022-06-08 11:20:44

    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. By default, you will enter the Media Assets > Video Management > Uploaded page.
    4. Select Distribution and Playback > Domain Name on the left sidebar.
    5. Click Set in the row of the target domain name to enter the configuration page.
    6. 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. By default, you will enter the Media Assets > Video Management > Uploaded page.
    4. Select Distribution and Playback > Domain Name on the left sidebar.
    5. Click Set in the row of the target domain name to enter the configuration page.
    6. 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.
    7. 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