dongwu5743 2011-02-28 23:15
浏览 40
已采纳

存储注册和验证IP的好理由是什么

When a user creates an account, I email them a link to verify their account. Are there good reasons to store either or both of the IP used in registration and IP used in confirmation? I've seen some developers do that, but it's not clear to me what purpose this serves? and if it's worth doing at all. If I do store this data, what can I use it for later.

note: I generally will store the last IP from which the user logged in, but wondering about registration and verification IPs.

  • 写回答

2条回答 默认 最新

  • dta43039 2011-02-28 23:26
    关注

    Because it's easy to store and impossible to build that data later, should a need for it arise.

    As far as potential uses for IPs used in various requests/actions, it really depends on what you're doing. A few categories you might use them in are…

    • Preventing unauthorized access — e.g. keeping bots from registering lots of accounts or analyzing traffic to ensure a user account isn't being used in a suspicious way
    • Legal compliance — A subpoena may request the IP address that created a user, not just the last-used one
    • Tracking a user — Especially in the case of networks that track hits across multiple services/platforms.
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥20 给自己本科IT专业毕业的妹m找个实习工作
  • ¥15 用友U8:向一个无法连接的网络尝试了一个套接字操作,如何解决?
  • ¥30 我的代码按理说完成了模型的搭建、训练、验证测试等工作(标签-网络|关键词-变化检测)
  • ¥50 mac mini外接显示器 画质字体模糊
  • ¥15 TLS1.2协议通信解密
  • ¥40 图书信息管理系统程序编写
  • ¥20 Qcustomplot缩小曲线形状问题
  • ¥15 企业资源规划ERP沙盘模拟
  • ¥15 树莓派控制机械臂传输命令报错,显示摄像头不存在
  • ¥15 前端echarts坐标轴问题