Sign in
There are a total of 1 posts.
Published 十二月 09, 2025 by whitedec
在 Django/DRF 中使用 HMAC 签名保障服务器间请求完整性
在 Django 与 DRF 环境中,使用 HMAC 签名实现服务器间请求的完整性与身份验证。本文详细介绍了密钥共享、时间戳/nonce 防重放、客户端与服务器的区别,并提供完整代码示例与 CBV 设计模式,帮助你构建安全的服务器间通信。