4 ms·
Unpredictable user IDs are also an important security feature. At every tech company, developers inevitably write an endpoint that accidentally operates on user
by iancarroll 4y ago
Unpredictable user IDs are also an important security feature. At every tech company, developers inevitably write an endpoint that accidentally operates on user data without authorization checks. It is much easier for an attacker to iterate over integers than to figure out a separate way to leak a list of user UUIDs.
- andyp-kw 4y agoA hacker knowing the user ID should not be a problem in itself if both authorization and authentication are used by the endpoint.