ectoken

module
v0.0.0-...-8e08c53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2021 License: Apache-2.0, MIT

README

Verizon Digital Media Services

Token Generator for Edgecast Token-Based Authentication

Token-Based Authentication safeguards against hotlinking by adding a token requirement to requests for content secured by it. This token, which must be defined in the request URL's query string, defines the criteria that must be met before the requested content may be served via the CDN. This repository contains the following token generation resources:

Quick Start

  1. Leverage this token generator by either:
    • Downloading a Linux binary and/or Windows executable.
    • Cloning this repository and then incorporating the source code for the desired language in your application.
  2. Create a script to generate tokens for your content.
  3. Either update your static links or dynamically generate links that include a query string set to a token that defines the requirements that must be met before that content may be served.

Usage

Use the following syntax to specify a single parameter:

ectoken3 <KeyName> "<Parameter>=<Value>"

Use the following syntax to specify multiple parameters:

ectoken3 <KeyName> "<Parameter1>=<Value>&<Parameter2>=<Value1>,<Value2>"

Contributing

Contributions are welcome! Please review our contribution guidelines.

More Information

Please refer to the CDN Help Center, which is available from within the MCC, for more information (e.g., parameter names and usage).

License

View legal and licensing information.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL