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条)

报告相同问题?

悬赏问题

  • ¥15 公交车和无人机协同运输
  • ¥15 stm32代码移植没反应
  • ¥15 matlab基于pde算法图像修复,为什么只能对示例图像有效
  • ¥100 连续两帧图像高速减法
  • ¥15 组策略中的计算机配置策略无法下发
  • ¥15 如何绘制动力学系统的相图
  • ¥15 对接wps接口实现获取元数据
  • ¥20 给自己本科IT专业毕业的妹m找个实习工作
  • ¥15 用友U8:向一个无法连接的网络尝试了一个套接字操作,如何解决?
  • ¥30 我的代码按理说完成了模型的搭建、训练、验证测试等工作(标签-网络|关键词-变化检测)