473,324 Members | 2,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

IP address and a poll

I only let them vote on my poll once. I set a cookie and put there IP in my
database. Then I do a select to see if there IP is in the database and check
to see if they have a cookie. Does anyone see a problem with this?
Jul 19 '05 #1
1 1141
I see a couple of problems.

1. Your clock is wrong. You're jumping to the ~end~ of the line, which I
guess is extremely courteous. :]

2. A user can delete his cookie and vote again.

3. It's quite likely that more than one person will access your site via
the same IP, like users behind a firewall or a proxy server or AOL users.
There isn't a 100% fool-proof way of veryfing that one person does one thing
only one time. How can you determine it? It can't be done with any common
technology. You can make people register to vote and send confirmation
e-mails before they can vote, but even with that, I'd say that the average
person has over 1 e-mail address. Unless you can retina scan your site
visitors, you can't stop someone from doing something twice if he really
wants to, unfortunately. The best you can do is make it too much of a PITA
for someone to do something repeatedly and hope that it's enough.

Ray at home

"Dave" <da***@helixpoint.com> wrote in message
news:O8**************@TK2MSFTNGP11.phx.gbl...
I only let them vote on my poll once. I set a cookie and put there IP in my database. Then I do a select to see if there IP is in the database and check to see if they have a cookie. Does anyone see a problem with this?

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: Paul McGuire | last post by:
Well, after 3 days of open polling, the number of additional votes have dropped off pretty dramatically. Here are the results so far: Total voters: 55 (with 3 votes each) Votes for each choice...
9
by: Lad | last post by:
Is there a poll script available in Python?
1
by: Magnus Lycka | last post by:
I'm trying to read standard out in a process started with popen2 in a non-blocking way. (Other good ways of doing this than the one I tried are appreciated.) I've tried to dumb down my code to...
8
by: Maximus | last post by:
Is there any any any way I could grab the NIC MAC Address in PHP? if no, is there any way i can grab any hardware ID using PHP? I actually need it for a poll system, I don't wanna use IP system...
3
by: roger beniot | last post by:
I would like to figure out how to detect an IP address change for an XP/Win2K3 machine that is leasing an IP via DHCP (and do it in C#)... Is there any event that indicates an IP address...
0
by: jinfeng_Wang | last post by:
I have writen the following souce code : m_Socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); m_Socket.Blocking = false; try {...
0
by: =?Utf-8?B?aXdkdTE1?= | last post by:
Hi, im trying to broadcast a UDP packet to my networks broadcast address (192.168.255.255) which i have verified with my network admin is the correct address. i can ping that address and get...
11
by: !truth | last post by:
Hi, i feel confused about the following program, and it's works to get a pointer-member's address. #define NETDEV_ALIGN 32 #define NETDEV_ALIGN_CONST (NETDEV_ALIGN - 1) ...
4
by: 7stud | last post by:
Hi, What is the difference between: 1) getting the returncode directly from the subprocess object 2) calling poll() on the subprocess object? Here is an example:
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.