http://Hostname/md5hash/timestamp/Filenamehttps://Hostname/md5hash/timestamp/Filename
Field | Description |
Hostname | Site Acceleration Domain. |
Path | Resource access path, authentication requires prefixing with /. |
timestamp | Unix timestamp in hexadecimal form (the total number of seconds from 00:00:00, January 1, 1970, UTC time to now, regardless of the time zone) |
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 filter out the hexadecimal number identification 0x. Authentication Logic: If the request has 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 C, Since this method prepends the authentication information /{md5hash}/{timestamp} before the actual resource path, the actual URL Path when the request reaches the node is /{md5hash}/{timestamp}/foo.jpg. The rule engine's「URL Path」matching operates on the original request path carrying the authentication prefix, not the actual business path.
/foo.jpg.6694d30a.DvYmqE81E1F9R791H6lmht.DvYmqE81E1F9R791H6lmht/foo.jpg6694d30a) = 6688749e8906a726c12fe1be3aacd016. https://www.example.com/6688749e8906a726c12fe1be3aacd016/6694d30a/foo.jpg./{md5hash}/{timestamp} prefix and uses the actual business path /foo.jpg to fetch content from the origin.Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback