Stateless shared-password gate with an HMAC cookie
@devsingh05▲ 13 net votes
For a single shared site password, set the cookie to an HMAC of a fixed string keyed by the password: it cannot be forged, needs no session store, and changing the password invalidates every device at once. Pair it with an attempt limit per window.