Jump to content

Unique Visitor Tracking


Lytheum

Recommended Posts

Hello. Currently, I run a voting site where voters are tracked by their IP address and can only vote once every 12 hours.

 

The system works well, except it can be exploited very easily. Visitor's only need to renew their ip to be allowed to vote again.

 

I have captcha in place to prevent bots from doing this, but if someone were dedicated, they could get a lot of free votes.

 

Does anyone have a better way to track such things? Cookies will not work either. It's easier to get around than an IP. Perhaps I'll have to use a language other than PHP?

 

Thanks for your help.

Link to comment
Share on other sites

Yes that's the only way around it from what I've read.. and ideally an email address which is an ISP email addy.. as opposed to hotmail, yahoo mail etc.. that's how some of 'em are doing it out there.  From what I've found out so far there's no way of stopping anyone from using proxy IPs and deleting cookies etc.

Link to comment
Share on other sites

Well one thing I noticed is PHP's built-in function "gethostbyaddr()".

 

This will return the host name of a given IP, which generally (from what I've noticed) doesn't change very much even when an IP changes. So what if I used this function in conjunction with "similar_text()", and if host that is trying to vote has greater than a 75% match with a host that has already voted in the past 12 hours, deny them?

 

Would just like to hear some thoughts.

 

Otherwise, will most likely take Crabfinger & Eujut's approach. (Which will restrict a few people from voting, which pains me)

 

 

P.S. I've googled around to find out how to obtain the mac address, and it seems possible. Although I am sure it is not sent in the browsers HTTP headers, I think there is a work-around. I'll look more into that.

Link to comment
Share on other sites

@crabfinger, redarrow: That won't stop me from voting a few million times I can get a ten-minute mail. Open 10-20 tabs to the register page and fill them in and submit them. Your system will be just flooded with fake accounts.

 

Many voting systems now use a SMS based service to vote. If someone now wants to vote a few million times you'll be rich :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.