http://Hostname/Filename?sign=md5hash&t=timestamp
Field | Description |
Hostname | Site acceleration domain name. |
Path | Resource access path, which must start with / during authentication. |
sign | User-defined authentication parameter name. |
t | User-defined timestamp parameter name |
timestamp | Timestamp parameter. Format: Positive decimal integer Unix timestamp, which is the total number of seconds that have passed since 00:00:00, 1970.1.1 (UTC time) and is regardless of the time zone; or positive hexadecimal integer Unix timestamp, which is the total number of seconds that have passed since 00:00:00, 1970.1.1 (UTC time) and is regardless of the time zone. |
md5hash | A string containing 32 characters calculated based on the MD5 algorithm: Algorithm: MD5 (key + Path + timestamp). Note: During calculation, the hexadecimal number identifier 0x of the hexadecimal timestamp must be filtered out. 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
.1721029907
.DvYmqE81E1F9R791H6lmht
.DvYmqE81E1F9R791H6lmht/foo.jpg1721029907
) = cadcec4a04e67b9c2abf4b61c642a0dd
.https://www.example.com/foo.jpg?sign=cadcec4a04e67b9c2abf4b61c642a0dd&t=1721029907
.
Was this page helpful?