Security Link

Secure tokens are structured codes designed to protect content from being stolen and distributed on other platforms. On vCDN, we support enabling the Secure token feature when creating or editing an existing CDN.


When the end user needs to access content that has been secured with "Secure token" activation, the system will check whether the request meets the required conditions. If it does, the end user will be granted access to the content; otherwise, the request will be denied.

In which:

  • Passphase: is the key with the formula you have set up so that the system can identify authorized access.

  • Include client IP: is the IP of the end user requesting content.

  • For "Secure token" to work, the service administrator needs to integrate the KEY into the system. Depending on the Token Type, there will be different KEY generation formulas, specifically:

  • VNG:

    • URL Format: http(s)://<domain>/<token>/<expiredTime>/<uri>

    • <token>: md5(<Passphare><filePath><expiredTime><clientIP>)

    • <expiredTime>: Thời gian epochtime hết hạn của URL, tính bằng mili-seconds

    • <filePath>: /path/to/media/xxx.[m3u8|ts|mpd|dash] (tức là <uri> bỏ đi phần xxx.[m3u8|ts|mpd|dash], trường hợp ví dụ này sẽ là: /path/to/media)

    • <ClientIP>: IP của client được cấp phép truy cập vào nội dung, chỉ cung cấp trong đường hợp bạn đã chọn bật "Include IP" trong cấu hình của dịch vụ CDN

  • SBD:

    • URL Format: http(s)://<domain>/<token>/<expiredTime>/<uri>

    • <token>: md5(<clientIP>:<Passphare>:<exiredTime>:<filePath>)

    • <expiredTime>: Thời gian epochtime hết hạn của URL, tính bằng seconds

    • <filePath>:/path/to/media/xxx.[m3u8|ts|mpd|dash] (tức là <uri> bỏ đi phần xxx.[m3u8|ts|mpd|dash], trường hợp ví dụ này sẽ là: /path/to/media)

    • <ClientIP>: IP của client được cấp phép truy cập vào nội dung, chỉ cung cấp trong đường hợp bạn đã chọn bật "Include IP" trong cấu hình của dịch vụ CDN


Use CORS feature

CORS is the output security feature of vCDN that allows access with configurations such as: domain name, IP address, Header, Method, Expose Header to access the vCDN output link.


Có thể add các danh sách IP của các Origin cho phép truy cập vào link đầu ra (Whitelist IP).

khóa các IP không cho phép Origin truy cập vào link đầu ra của vCDN (Blacklist IP).


Có thể tạo danh sách những origin ở các quốc gia nào có thể truy cập link đầu ra:

Không cho phép những Origin ở quốc gia nào truy cập Link đầu ra:


Cho phép Origin có domain trong list có thể truy cập link đầu ra:

Không cho phép Origin có domain trong danh sách có thể truy cập link đầu ra:

Last updated