Voting twice (or more): Is there a way to prevent it?
Posted: Mon Nov 27, 2006 6:59 pm
I'm writing a small script that will allow users (registered) to design and put online their surverys. Non registered ones will be able to vote though.
Given such a simple work, all is going well, but I'm afraid actually about some bad guy who can do this kind of thing:
I'm relying on $_SESSION to reject double voting, cause I don't want to restrict the functionality only to the anonymous visitors...
Is there any way to deal with this kind of risk?
Given such a simple work, all is going well, but I'm afraid actually about some bad guy who can do this kind of thing:
Code: Select all
pseudocode
for i=1 to 10000000000000
params = "vote=the_worst_candidate";
go_to_surveysite(params)
change_my_session;
endforI'm relying on $_SESSION to reject double voting, cause I don't want to restrict the functionality only to the anonymous visitors...
Is there any way to deal with this kind of risk?