Articles on: CDN Nexus

How to enable URL signing on a CDN pull zone

URL Signing protects your CDN endpoint content from unauthorized access, the following guide will take you through the parameters which you can control via URL Signing

Signing options and URL Formats



A URL can be signed with any of these parameters

Query string format: http://example.com/filename?secure=FjnSIKndiNXInxkl&expires=1747605200&ip=127.0.0.1
Path format: http://example.com/secure=FjnSIKndiNXInxkl&expires=1747605200&ip=127.0.0.1/filename

ParameterDescriptionTypeImportance
expiresExpiration time of the URLUNIX TimestampOptional
filenamePath of a file of directoryStringOptional
secureGenerated public tokenStringRequired
ipAllowed IP addressIPv4 or IPv6 addressOptional


You can set your own URL signing key to generate the unique secure string for your CDN content. Follow the steps below;

Go to the Security tab in the Pull zone's manage page



Under URL Signing click the Enable check box

Add your own URL Signing Key and click on the Save URL Signing Settings button



The URL signing key is similar to a password and can contain a minimum of 6 to a maximum of 32 characters.

Code examples on URL Signing



Please visit here to view the available code examples on enabling URL Signing within your application

Updated on: 03/14/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!