DMF1ucDxtHCxwYQ
.
4. The script adds the DMF1ucDxtHCxwYQ
string to a URL of a file as follows: http://cdn.example.com/photo.jpeg?md5=DMF1ucDxtHCxwYQ&expires=2147483647
. This is the link a user sees.
5. The user tries to request content using this secured URL.
6. Our CDN processes the request. It knows the key used by the script to encrypt variables, and therefore it can decrypt DMF1ucDxtHCxwYQ
. The CDN sees three variables: the link expiration time, the allowlisted IP and the path to your file.
7. If a link is not yet expired, the request comes from an allowlisted IP address, and a file’s path is correct, the CDN sends the content. If something doesn’t match, the CDN returns an error.