You should upgrade to Token-Based Authentication 3.0.
Learn more.
Quick reference information is provided on:
The platforms and features that support Token-Based Authentication are listed below.
Platform/Feature | Support |
---|---|
ADN |
|
HTTP Large |
|
HTTP Small |
|
Take the following precautions to secure the primary and backup key:
This section provides a brief description for each available parameter.
Parameter | Description | Example |
---|---|---|
Restricts content delivery to requests that originate from a specific IP address. Usage:
|
Value: 111.11.111.11
Result: Restricts content delivery to a client with an IP address of 111.11.111.11. |
|
Restricts content delivery to the specified countries. Usage:
|
Value: US
Result: Restricts content delivery to requests that originate from the United States. |
|
Blocks requests from one or more countries. Usage:
|
Value: US,CA
Result: Blocks all requests that originate from the United States and Canada. |
|
Defines an expiration date and time (GMT) for the token value. Usage:
|
Value: 1451563200
Result: Expires the token on 12/31/2015 at 12:00:00 GMT. |
|
Restricts content delivery to the specified set of hosts. Usage:
|
Value: server1.com,*.server2.com
Result: Blocks all requests whose host does not match either server1.com or the server2.com domain root (e.g., secure.server2.com or cdn.server2.com). |
|
Defines the set of hosts for which content delivery will be denied. Usage:
|
Value: server1.com,*.server2.com
Result: Blocks all requests whose host matches either server1.com or the server2.com domain root (e.g., secure.server2.com or cdn.server2.com). |
|
Restrict content delivery to the specified protocol(s). Usage:
|
Value: https
Result: Restricts content delivery to requests that leverage the HTTPS protocol. |
|
Denies requests that leverage the specified protocol. Usage:
|
Value: http
Result: Blocks requests that leverage the HTTP protocol. |
|
Restricts content delivery to the specified set of referrers. Usage:
|
Value: server1.com/obj1,*.server2.com
Result: Allows requests whose referrers start with "server1.com/obj1" or whose host contains the server2.com domain root. |
|
Defines the set of referrers for which content delivery will be denied. Usage:
|
Value: server1.com/obj1,*.server2.com
Result: Blocks requests whose referrers start with "server1.com/obj1" or whose host contains the server2.com domain root. |
|
Links a URL path to a token. Usage:
|
Value: /000001/dir1/movie1,/000001/dir2
Result: Allows requests to CDN storage that meet one of the following criteria:
View sample "allowed" requests.
http://wpc.0001Represents your customer account number..omegacdn.net/000001Represents your customer account number./dir1/movie10.flv
http://wpc.0001Represents your customer account number..omegacdn.net/000001Represents your customer account number./dir1/movie1/ad.pdf
http://wpc.0001Represents your customer account number..omegacdn.net/000001Represents your customer account number./dir20/sales/brochure.pdf
|
All requests for content requiring authentication must contain a query string set to a valid token.