he feedback board I build lets anyone vote on an idea in one click, with no account and no email address. The first question people ask about that is reasonable: what stops someone voting a hundred times?
The honest answer is "several small checks, none of them perfect". This post walks through each one with the real code, what it costs, and what it still can't stop. If you're building anything with anonymous votes, likes or ratings, the same pieces apply.
(Why skip logins at all is a separate argument. The short version: every step before a vote loses people, and for product feedback you want the quiet majority, not just the motivated few.)
What we're actually defending against
It helps to be specific, because "stop duplicate votes" can mean very different things:
Someone clicking twice by accident , or double-clicking. Must never count twice.
Someone voting again on purpose after a reload, or in a second tab.…