▲ | simongr3dal a day ago | |||||||||||||||||||
I believe the concern is if your primary key in the database is a serial number it might be exposed to users unless you do extra work to hide that ID from any external APIs and if there are any flaws in your authorization checks it can allow enumeration attacks exposing private or semi-private info. With UUIDs being virtually unguessable that makes it less of a concern. | ||||||||||||||||||||
▲ | morshu9001 a day ago | parent [-] | |||||||||||||||||||
uuid7 is still guessable though, as the article says. The assumption is that these are internal only PKs. | ||||||||||||||||||||
|