Secure Link Md5 with Primary and Secondary Secret

anish10dec nginx-forum at forum.nginx.org
Tue Jun 12 12:09:18 UTC 2018


There is requirement for token authentication using two secret key i.e
primary and secondary secret for location block.

If token with first secret gives 405, then to generate the token with second
secret to allow the request.

This is required for changing the Secret Key in production on server so that
partial user will be allowed with old secret and some with new secret for
meanwhile till secret is updated on all servers and client.

Something similar to below implementation
https://cdnsun.com/knowledgebase/cdn-live/setting-a-token-authentication-protect-your-cdn-content

Regards & Thanks ,
Anish

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280125,280125#msg-280125



More information about the nginx mailing list