cookie相关帐户 [英] cookie related accounts

查看:100
本文介绍了cookie相关帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




如果有人通过创建多个用户ID来滥用我们的网络服务,那么我们怎样才能阻止它们呢?


我相信比较在同一台机器,网络,cookie或IP上创建的两个帐户就是解决方案。


比如说,如果用户A登录后来用户B登录到同样的电脑,然后我需要能够通过COOKIE找到它们。


需要很好的建议和想法才能实现这一点。


谢谢。

Hi ,

Say if someone is abusing our webservices by creating several user id''s, So how can we stop them ?

I believe comparing two account created on the same machine,network,cookie or IP is the solution for that.

Say, if user A logged in and later User B logged in to the same computer then i need to be able to find them out, by means of COOKIE .

Need good suggestions and ideas to accomplish this.

Thanks.

推荐答案

您可以设置cookie,但只要用户不删除它们或者从下一个其他浏览器发送请求它就会起作用时间。


IP地址始终不会保持不变,也可能有多台计算机在一个IP地址后面工作(如果机器在路由器后面)。但是你可以保留一份列入黑名单的IP地址列表,你会看到多次请求。
You can set cookies, but it will work as long as the user doesn''t delete them or send a request from a different browser next time.

IP address doesn''t remain the same always and also there can be more than one machines working behind one IP address (in case machines are behind a router). But you can maintain a list of blacklisted IP addresses from where you see request coming multiple times.


我的问题是如何关联两个用户的?

在cookie的意义上,ip?

对于事物cookie我有点困惑怎么办?

这就是我要求建议的原因。
My question was how to relate two user''s ?
In sense of cookie, ip ?
For the thing cookie i am bit confused how to do ?
That is why i am asking for suggestions.


你要做的几乎是不可能的。如上所述,有些人拥有动态IP地址,因此虽然它可能看起来像一个用户多个帐户,但实际上只有很多人拥有超过动态IP范围。


Cookies很容易绕过,但以与会话类似的方式工作:
What you are trying to do is near impossible. As mentioned, some people have dynamic IP addresses, so while it may look like one user several accounts, it''s actually just lots of people with over lapping dynamic IP ranges.

Cookies are easily bypassed, but work in a similar way to a session:
展开 | 选择 | Wrap | 行号


这篇关于cookie相关帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆