http://Hostname/Filename?token=md5hash&t=timestamphttps://Hostname/Filename?token=md5hash&t=timestamp
Field | Description |
Hostname | Site Acceleration Domain. |
Path | Resource access path, authentication requires prefixing with /. |
token | Authentication parameters name set by Definition. |
t | Timestamp parameter name set by Definition |
timestamp | Timestamp parameter. Format: Decimal positive integer Unix timestamp, is the total number of seconds from UTC time January 1, 1970, 00:00:00 to the present, its Definition is independent of the timezone; or Hexadecimal positive integer Unix timestamp, is the total number of seconds from UTC time January 1, 1970, 00:00:00 to the present, its Definition is independent of the timezone. |
md5hash | A fixed-length string of 32 characters calculated using the MD5 algorithm: Algorithm: MD5(Key + Path + timestamp). Note: When calculating, the hexadecimal timestamp must exclude the hexadecimal number identification 0x. Authentication Logic: If the request is not expired, the node compares this string value with the md5hash value carried in the request URL. If the values are the same, authentication passes and the request is responded to; if the values are different, authentication fails, returning 403. |
https://www.example.com/foo.jpg uses authentication method D, configured as follows:
/foo.jpg.1721029907.DvYmqE81E1F9R791H6lmht.DvYmqE81E1F9R791H6lmht/foo.jpg1721029907) = cadcec4a04e67b9c2abf4b61c642a0dd. https://www.example.com/foo.jpg?token=cadcec4a04e67b9c2abf4b61c642a0dd&t=1721029907.Feedback