Table of contents
Signed URLs
Signed URLs provide a way to limit access to premium or private content. By adding a signature into the URL, CacheFly can enforce your dynamically configured policies, such as expiry and location.
To add a Signed URLs script config to the list of script configs created for your CacheFly services in general, or to associate a Signed URLs script config with a specific CacheFly service, see Adding and Using Script Configs.
Using the Signed URLs Script Config
The Signed URLs configuration contains a single key called algorithms
. This key contains a list of all the different signing algorithm configurations that you wish to use for your service.
The CacheFly content distribution network (CDN) attempts to match incoming requests to one of the configurations in the list based on the value of the path
property in the different signing algorithm configurations.
When the signature is found to be invalid or expired, the request is denied and a 403 is returned.
If there is no match, then the request is allowed by default.
If there are multiple matches, only the first is considered.
See also the detailed online Signed URLs script config documentation.
Editing the Signed URLs Script Config
When you add the Signed URLs script config to your list of script configs in CacheFly, it will initially display a default configuration as a model for you to adapt to your own requirements.
To edit this default configuration:
Click the blue Edit button to enter edit mode
Modify the script config as you require
Remember to click the blue ✔ Save Changes button to save your changes.
As you edit:
The CacheFly system shows on-screen prompts to help you select acceptable parameters and values.
The blue ✔ Save Changes button will be partially grayed out and will be inactive, until the system confirms that your edits are acceptable.
You can cancel your current edits by clicking the gray Cancel button.
Scroll the graphics in this step horizontally to see all the screens.
Additional Help Topics
As an alternative to creating and managing script configs via the CacheFly user interface as described in this guide, you can also create and manage script configs via API calls.
Click the gray API docs button to access the Script Configs section in CacheFly's online API documentation for further information.
For detailed information on using Signed URLs, click the gray Documentation button to access the CacheFly Signed URLs guide.