Thanks for the feedback!

If you’re absolutely sure that the library which you’re using for UUID v4 generation uses a CSPRNG, then it should be more or less secure to use those UUIDs as, say, session tokens. But when it comes to auth, in particular, I’d better use signed JWTs and well-known standards like OpenID Connect there.

Andrey Pechkurov
Andrey Pechkurov

Written by Andrey Pechkurov

Core database engineer at QuestDB. Distributed systems gazer. Node.js contributor. Occasional tech blogger and speaker.

No responses yet