Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some basic multiple voting checks. #98

Open
zorn opened this issue Nov 14, 2024 · 0 comments
Open

Add some basic multiple voting checks. #98

zorn opened this issue Nov 14, 2024 · 0 comments

Comments

@zorn
Copy link
Owner

zorn commented Nov 14, 2024

We want to discourage people from voting twice, however we have a limited appetite for how strongly we want to enforce this.

As a simple first pass we'd like to do two things:

  1. Store in the session that the user has voted for ballot X and if so tell them they already recorded.
  2. Store the IP with the vote, if attempting to render the vote capture page for an IP that has already voted, don't let them.

We should be vague in the messaging so as to not encourage people to recycle their IP.

These are notable frail security measures but help protect against lazy people who want to vote more than once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant