flow chart The process is as shown in the figure above: - The user requests to the CDN node;
- The CDN node forwards the user request to the authentication server intact;
- The authentication server gives the authentication results according to the authentication parameters in the request header;
- The CDN node misses to obtain files from the source station;
- The source station sends the request response content to the CDN, and the CDN caches the content at the same time;
- The CDN node responds to the end user according to the authentication result;
Operating Instructions Log in to the console ->CDN ->Domain name management ->Configuration ->Access control Back to source authentication to modify settings Setting Introduction- Configure the authentication server address The authentication address is the external accessible address of the user's authentication http server.
- Configure the authentication request method The user's authentication http server supports the request method. Now it supports GET, POST, HEAD.
- Configure the authentication parameter The authentication parameter is the KEY of the URL parameter required by the user authentication server. The configured URL parameter will be the URL parameter with which the end user accesses the resource (CDN edge node). After collection and filtering, it is sent to the user authentication server; At the same time, these parameters will also be carried back to the source. Please refer to the example for configuration format.
be careful: - The request header information when the end user accesses the resource will be all transmitted to the user's authentication server;
- If the user authentication service does not authenticate through URL parameters, but through some fields in the request header information, the above authentication parameters can not be set
|