Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据登录审核,我想将 http 请求相关信息存储在存储库中。想到的一件事是客户端 IP 地址。http请求对象中是否还有其他重要字段也应该存储?我想在有人成功登录以及登录失败的情况下这样做。
如果您还获取了 HTTP_USER_AGENT、REMOTE_HOST 和 REMOTE_USER,则可以将它们组合起来以找到发出请求的唯一机器,前提是它们恰好来自相同的 IP 地址。