1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00

Week 24/2022

This commit is contained in:
Samuel Štancl 2022-06-19 21:46:45 +02:00
parent bd6a684102
commit a955c3968b
12 changed files with 138 additions and 1 deletions

View file

@ -0,0 +1,15 @@
---
title: 'Databases can generate random UUID keys'
tweet_id: '1538579134703497216'
thread_slug: weekly-thread-2022-24
author_username: tobias_petry
images:
- 'https://pbs.twimg.com/media/FUuDWADWAAAapY7.jpg'
created_at: 2022-06-19T17:47:05+00:00
slug: 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.io/uuid-prevent-enumeration-attack