Skip to content
Discussion options

You must be logged in to vote

Yes. Instead, make the token as an HMAC of the recipient and the list ID, with a secret key outside the database. You store nothing, you get the same link each time, and a leaked database gives no valid links.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Arnaudv6
Comment options

@g4lb
Comment options

@Arnaudv6
Comment options

@g4lb
Comment options

Answer selected by Arnaudv6
@Arnaudv6
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants