A valid Token-Based Authentication setup consists of setting up a configuration and updating links. This type of setup will cause the CDN to require authentication prior to content delivery. This basic workflow is outlined below.
Workflow | Description |
---|---|
Setup |
A valid Token-Based Authentication setup requires that the following steps be performed: Phase 1: Configuration
Phase 2: Updating links
|
Requests for the above content:
|
Perform the following steps to define the content that will require authentication:
Define the set of content that will require authentication. This may be defined by either:
Rules Engine: Rules Engine, which must be purchased separately, can be configured to enable or disable Token-Based Authentication when a request meets predefined criteria.
Example:
The following sample configuration indicates how Token-Based Authentication can be applied to all requests for PDFs:
The next phase involves the following steps:
Only the content defined in phase 1 will require authentication. All other content may be accessed using a standard CDN or edge CNAME URL.
Sample request:
The above request's query string, which is marked in bold, blue font, represents a token value.
A request for content defined in phase 1 must meet the following criteria:
More Information:
An authorized request must contain a valid token that is appended to the file name in the CDN or edge CNAME URL.
Sample request:
The user must satisfy all of the requirements defined for the requested content.
Edgecast CDN