Get the App
SLTechnology News&Howtos  ›  Servers  › 

Description of origin-pull authentication algorithm

Shulou Source: shulou.com Published: 2022-06-02 09:41:21 10月26日 Update

Introduction of back-to-origin authentication function

The content distributed on CDN defaults to public resources. In order to prevent malicious users from stealing the content for profit, Maoyun CDN supports URL authentication configuration.

Description of origin-pull authentication algorithm

TypeA

TypeB

TypeC

TypeD

Configuration guidelines for Origin-pull Authentication

1. Log in to the Maoyun CDN console, click * * Domain name Management * * on the left, select the domain name to be set, click * * configuration * *-> * * hotlink Protection configuration * * in the right operation bar, and click Origin Authentication to enable * * Authentication configuration * *. Four modes are available:

two。 After the type is selected, you can configure authentication parameters (take TypeA as an example):

Authentication key: you can specify a string as the authentication key according to your business situation.

Signature parameter: set the name of the parameter that carries the signature string. Default is sign, and other parameter names can be specified.

Validity time: the server will determine whether the signature is valid by parsing the timestamp of the signature, plus the validity time and comparing it with the current time.

3. Specify authentication object

Origin-pull authentication calculator

Description:

You can use the authentication calculator to check whether the request path and signature are calculated correctly.

In the "Authentication configuration" module, click "Authentication Calculator". Four modes are available. After selecting the type and configuring the authentication parameters, you can calculate the authentication URL (take TypeA as an example):

Tags: Configuration parameters valid time calculator content domain name key mode type algorithm business function right name character string object malicious case Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Redmi Xiaomi NVidia Shulou Information