http://Hostname/timestamp/md5hash/Filenamehttps://Hostname/timestamp/md5hash/Filename
Field | Description |
Hostname | Site Acceleration Domain. |
Path | Resource access path, authentication requires prefixing with /. |
timestamp | UTC+8 Time, format: YYYYMMDDHHMM, e.g., 201807301000. |
md5hash | A fixed length string of 32 bits calculated using the MD5 algorithm: Algorithm: MD5(Key + timestamp + Path). 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 B. Since this method prepends the authentication information /{timestamp}/{md5hash} before the actual resource path, the actual URL Path when the request reaches the node is /{timestamp}/{md5hash}/foo.jpg. The rule engine's "URL Path" matching operates on the original request path carrying the authentication prefix, not the actual business path.URL Path equals /foo.jpg), otherwise the request will fail to match the rule.
/foo.jpg.202407151533.DvYmqE81E1F9R791H6lmht.DvYmqE81E1F9R791H6lmht202407151533/foo.jpg) = d1f0b51c6894231fc12e054fcc7f0b3e. https://www.example.com/202407151533/d1f0b51c6894231fc12e054fcc7f0b3e/foo.jpg.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