http://Hostname/Filename?sign=timestamp-rand-uid-md5hash
Field | Description |
Hostname | Site acceleration domain name. |
Path | Resource access path, which must start with / during authentication. |
sign | User-defined authentication parameter name. |
timestamp | Positive decimal integer Unix timestamp (the total number of seconds that have passed since 00:00:00, 1970.1.1 (UTC time), regardless of the time zone) |
rand | A random string consisting of 0-100 characters, including uppercase and lowercase letters and numbers. |
uid | User ID, which is currently unused and is 0 by default. |
md5hash | A string containing 32 characters calculated based on the MD5 algorithm: Algorithm: MD5 (Path-timestamp-rand-uid-key). Authentication logic: If the request has not expired, the node will compare this string value with the md5hash value carried in the request URL. If the values are the same, the request will pass the authentication, and a response will be made to the request; if the values are different, the authentication will fail, and 403 will be returned. |
https://www.example.com/foo.jpg
, the configuration is as follows:/foo.jpg
.1721028437
.Kv4cPTAAP5YTi
.0
.DvYmqE81E1F9R791H6lmht
./foo.jpg
-1721028437
-Kv4cPTAAP5YTi
-0
-3C9mxSGzc8ZadmGNzE
) = 0fbdca749d7ab784750685347e42075c
.https://www.example.com/foo.jpg?sign=1721028437-Kv4cPTAAP5YTi-0-0fbdca749d7ab784750685347e42075c
.
Was this page helpful?