DEV Community

Discussion on: Stupid but common security vulnerability in web app

Collapse
 
dgiulian profile image
Diego Giuliani

Great tip!
Another related one is to never use a sequential id but instead generate one using some library like uuid. This will make it harder for an attacker to guess the id of a user or any content in your app.