|Andreas Shimokawa e5cc06846e display results of past polls||4 months ago|
|admin||5 months ago|
|static||4 months ago|
|README.md||5 months ago|
|config.inc.php||6 months ago|
|index.php||6 months ago|
|setup_database.sh||6 months ago|
|vote.php||4 months ago|
The main idea is maximum privacy and anonymity.
When polls are created, 40 character long tokens are generated and put into the database and sent out via to all participants via email. A token can only be used for one poll, multiple polls can run at the same time.
When voting the user has to copy&paste the token to a form that is then posted. Tokens will be completely removed from the database and the vote counter for the selected answer will be increased.
No logs will contain anything about the selected answer or the token connected to it. We also do not know which token was sent to which user.
To create the database run ./setup_database.sh and put the random password into contig.inc.php