Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    North East England
    Posts
    853
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Poll script multiple vote protection

    I've pretty much got the rest of the poll going - all by myself - but now I need to prevent cheeky blighters cheating.

    Depositing a cookie is one easy way and starting a session should protect if the cookie's deleted but if the user ends the session and deletes the cookie it'll be vulnerable. Is there any other method could I use?

    I'll be asking you guys to test the script for flaws later in the week...
    [+] Computer/PC issues [+] Silverpaw3D
    ------------------------------------------------
    Never buy a dwarf with learning disabilities...

    ...it's not big, and it's not clever.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    the Netherlands
    Posts
    215
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could have people login with a specific username wich is ferified by their e-mail (i.e. send the password to the e-mailaddress entered) and store all votings in a file including username. (Get the idea?)

    Or maybe use all three of them; cookie + session + username

    Mzzl, Chris

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    North East England
    Posts
    853
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah I thought of having a login but often people - me included - can't be bothered to register with site's.
    [+] Computer/PC issues [+] Silverpaw3D
    ------------------------------------------------
    Never buy a dwarf with learning disabilities...

    ...it's not big, and it's not clever.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Don't let on that you're checking for multiple votes, use a combination of cookies and the IP address of the user to throw out multiple votes (silently). This of course works best when you don't have instant feedback so a cheater can't tell that their additional votes were thrown out.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •