Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: simple voting script

by JavaFan (Canon)
on Apr 28, 2011 at 10:52 UTC ( #901776=note: print w/ replies, xml ) Need Help??


in reply to Re^2: simple voting script
in thread simple voting script

my main problem is making a script that lets only members vote, vote only once
Then the first problem you need to solve (and the problem is only partial solvable by coding) is "how do I recognize a user", and "how much I'm willing to spend on it". There are all kinds of solutions, from just asking who the user is (easily forged) to encrypted connections, one-time-only paths, RSA dongles, etc. Things to consider (but the list isn't exhaustive):
  • How anonymous must the voting process be? Tracking who voted gives up some of the anonymity.
  • Do you need to exclude man-in-the-middle attacks?
  • Do the voters themselves need to know they're talking to your voting system? That is, does authentication need to be both ways?
  • The more complicated it gets, the more people won't bother to vote. Where's the trade-off when balancing "security" vs "voter count"?


Comment on Re^3: simple voting script

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://901776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2013-06-18 05:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (595 votes), past polls