跟踪唯一的IP地址 [英] Track unique IP Address

查看:48
本文介绍了跟踪唯一的IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个正在举办摄影比赛的网络应用。基本上任何

的用户都应该可以对评级在1到5之间的照片进行投票。

在比赛结束时,平均值最高的照片
等级赢得比赛。


为了公平,我们希望限制用户只对任何一张照片投票

一次。但是为了鼓励投票,我们不希望强制用户注册/注册

。所以我们想也许

我们可以跟踪IP地址以及用户ID对照片。


所以我只想知道可能会有什么影响跟踪IP地址跟踪
出现。想到的显而易见的是IP

欺骗。但我不太确定动态IP

地址会发生什么?这是否意味着没有共享IP地址的人会使用不同的IP地址来获得
?那么代理服务器呢?


显然还有其他措施可以确保将b / b
的投票保持在最低限度。


我感谢任何能帮助解决这个问题的人,如果他们认为这是实际可行的吗?

解决方案
" glenh" < gl ****** @ hotmail.comwrote in message

news:ae ************************ ********** @ a19g2000 pra.googlegroups.com ...


所以我想知道可能会出现什么样的影响

跟踪IP地址。想到的显而易见的是IP

欺骗。



正确。这是IP地址不能用于此目的的主要原因之一

这个目的...


但我不太确定会发生什么动态IP地址?这个

是什么意思

没有共享IP地址的人会使用不同的IP

地址吗?



动态IP地址与其名称完全一致,即他们可以随时更改
。这意味着例如有人可以访问您的网站,

关闭浏览器,重启他们的机器并再次使用

不同的IP地址访问您的网站...


代理服务器怎么样?

http://en.wikipedia.org/wiki/ Proxy_server


显然还有其他措施可以确保将操纵票数保持在最低限度。



喜欢什么......?


我感谢任何有助于阐明这一点的人如果他们认为

这实际上是可行的吗?



实现你想要的唯一合理安全的方法是强迫

人注册并登录......

-

Mark Rae

ASP.NET MVP
http://www.markrae.net


正如Mark指出的那样,IP地址很漂亮无用的

用于跟踪谁访问过您的网站以及谁没有访问过。


您可以强制人们注册并登录,如Mark建议的那样,

或在用户投票后发出cookie,标记用户已投票,

以便以后进行检查,或两者都做。

我一般在不需要注册的网站上投票,但如果需要注册,我会走开。


发行cookie是一种简单的跟踪方式谁投票谁谁没有投票。


当然,你总是会有一个非常低比例的人试图通过擦除来欺骗

饼干再次投票,但我怀疑他们的影响在结果上可以忽略不计。


Juan T. Llibre,asp.net MVP

asp.net faq: http://asp.net.do/faq/

foros de asp.net,en espa?ol: http: //asp.net.do/foros/

============================ ==========

" glenh" < gl ****** @ hotmail.comwrote in message

news:ae ************************ ********** @ a19g2000 pra.googlegroups.com ...


>我有一个运行照片比赛的网络应用程序。基本上任何

的用户都应该可以对评级在1到5之间的照片进行投票。

在比赛结束时,平均值最高的照片
等级赢得比赛。


为了公平,我们希望限制用户只对任何一张照片投票

一次。但是为了鼓励投票,我们不希望强制用户注册/注册

。所以我们想也许

我们可以跟踪IP地址以及用户ID对照片。


所以我只想知道可能会有什么影响跟踪IP地址跟踪
出现。想到的显而易见的是IP

欺骗。但我不太确定动态IP

地址会发生什么?这是否意味着没有共享IP地址的人会使用不同的IP地址来获得
?那么代理服务器呢?


显然还有其他措施可以确保将b / b
的投票保持在最低限度。


我感谢任何可以帮助解决这个问题的人,如果他们认为这是实际可行的吗?



glenh带来下一个想法:


>

所以我想知道

跟踪IP地址会产生什么样的影响。想到的显而易见的是IP

欺骗。但我不太确定动态IP

地址会发生什么?这是否意味着没有共享IP地址的人会使用不同的IP地址来获得
?那么代理服务器呢?



我们曾经有一个客户希望跟踪他们的

客户的IP地址。不幸的是托管中心使用了代理服务器,因此记录的唯一IP地址是该代理服务器的IP地址...


Hans Kesting


I have a web app that is running a photo competition. Basically any
user should be able to vote on a photo with a rating between 1 and 5.
At the end of the competition the photo with the highest average
rating wins the competition.

To make things fair we would like to restrict a user from only voting
on any one photo only once. However to encourage voting we dont want
to have to force users to register/signup. So we thought perhaps that
we could track IP Addresses as well as user ids against photos.

So I would just like to know what sort of implications may arise with
tracking IP Addresses. The obvious one that comes to mind is IP
spoofing. But Im not quite sure what happens with dynamic IP
addresses? Does this mean anyone without a shared IP address will
come on with a different IP Address? What about proxy servers?

There will obviously be other measures in place to ensure that rigging
of votes will be kept to a minimum.

I thank anyone that can help shed any light on this and if they think
this is actually viable?

解决方案

"glenh" <gl******@hotmail.comwrote in message
news:ae**********************************@a19g2000 pra.googlegroups.com...

So I would just like to know what sort of implications may arise with
tracking IP Addresses. The obvious one that comes to mind is IP
spoofing.

Correct. This is one the main reasons that IP addresses cannot be used for
this purpose...

But Im not quite sure what happens with dynamic IP addresses? Does this
mean
anyone without a shared IP address will come on with a different IP
Address?

Dynamic IP addresses are exactly as their name suggests i.e. that they can
change at any time. This means e.g. that someone could visit your site,
close their browser, reboot their machine and visit your site again with a
different IP address...

What about proxy servers?

http://en.wikipedia.org/wiki/Proxy_server

There will obviously be other measures in place to ensure that rigging
of votes will be kept to a minimum.

Like what...?

I thank anyone that can help shed any light on this and if they think
this is actually viable?

The only even reasonably secure way of achieving what you want is to force
people to register and log in...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net


As Mark pointed out, IP addresses are pretty much useless
for keeping track of who visited your site and who did not.

You can either force people to register and login, as Mark suggested,
or issue a cookie after the user has voted, flagging that the user has voted,
so that later checks are made possible, or do both.

Forcing people to register has the disadvantage of probably reducing participation.
I generally vote at sites that don''t require registration, but will walk away if registration is needed.

Issuing cookies is a simple way to keep track of who voted and who did not.

Of course, you will always have a very low percentage of people who will try to cheat by erasing
the cookie and voting again, but I suspect that their impact would be negligible on the results.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
======================================
"glenh" <gl******@hotmail.comwrote in message
news:ae**********************************@a19g2000 pra.googlegroups.com...

>I have a web app that is running a photo competition. Basically any
user should be able to vote on a photo with a rating between 1 and 5.
At the end of the competition the photo with the highest average
rating wins the competition.

To make things fair we would like to restrict a user from only voting
on any one photo only once. However to encourage voting we dont want
to have to force users to register/signup. So we thought perhaps that
we could track IP Addresses as well as user ids against photos.

So I would just like to know what sort of implications may arise with
tracking IP Addresses. The obvious one that comes to mind is IP
spoofing. But Im not quite sure what happens with dynamic IP
addresses? Does this mean anyone without a shared IP address will
come on with a different IP Address? What about proxy servers?

There will obviously be other measures in place to ensure that rigging
of votes will be kept to a minimum.

I thank anyone that can help shed any light on this and if they think
this is actually viable?



glenh brought next idea :

>
So I would just like to know what sort of implications may arise with
tracking IP Addresses. The obvious one that comes to mind is IP
spoofing. But Im not quite sure what happens with dynamic IP
addresses? Does this mean anyone without a shared IP address will
come on with a different IP Address? What about proxy servers?

We had a customer once that wanted to track IP addresses of their
customers. Unfortunately the hosting center used a proxyserver, so the
only IP address recorded was that of that proxy server ...

Hans Kesting


这篇关于跟踪唯一的IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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