1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/databases-can-generate-random-uuid-keys.md
2022-08-20 14:36:24 +02:00

616 B
Raw Permalink Blame History

title tweet_id thread_slug author_username images created_at slug
Databases can generate random UUID keys 1538579134703497216 weekly-thread-2022-24 tobias_petry
https://pbs.twimg.com/media/FUuDWADWAAAapY7.jpg
2022-06-19T17:47:05+00:00 databases-can-generate-random-uuid-keys

Database Tip

Many applications use the table's numeric primary key in the URL: Bots can scrape all data by incrementing the ID and competitors know your number of customers/resources and growth.Adding a random UUID which is used in URLs solves this.

https://sqlfordevs.com/uuid-prevent-enumeration-attack