I'd say without a login that is verified against a real email with a postback token verification there is no real way to do this. You could store a cookie in the browser, which could be cleared by the user and re-vote. You could tie it to the IP like you suggest, but the IP your server see's is only the ip of the publicly visible router. There may be many machines behind this one IP, And besides that its not the computer thats voting its a person. You could ask for personal information which everyone will just lie about.
I've seen many voting designs. I've never heard of anyone trying to do it open successfully. Every valid voting system has some way to validate the user is real before they allow the vote. I'd say if your really going to go down this path, associate the vote with the IP address and a time duration say 1 day or 12 hours. That would at least take care of someone scripting the vote. But you may miss out on some votes and hopefully most people would not be interested enough in sabotaging your results to put the effort into visiting the vote every day. On Mar 17, 2:04 pm, Amit <[email protected]> wrote: > I'm working on a site that's going to let people vote on submissions. > To encourage interaction I want to let anonymous users vote, but I > still want to limit unique visitors to one vote. I know I won't be > able ensure 100% adherence unless I require some sort of login, but > allowing for this what should I check to see if a person has already > voted? > > Is 1 vote/ip address good enough? Is there anything else should I log/ > track to prevent 1 person from voting multiple times (knowing full > well that since it's open voting I can't stop every scenario)? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
