2 ms·
>> It's not a replacement for not checking resource access. It isn't a replacement but it does compliment security. Imagine that your service accidentally hands
by osigurdson 4y ago
>> It's not a replacement for not checking resource access.
It isn't a replacement but it does compliment security. Imagine that your service accidentally hands out the wrong jwt for a short period of time. The attacker has the jwt and a known url but not the url to access another user's information. It will take the attacker a long time to find the url if it is a 128bit uuid. By that time the jwt has expired. I'm not suggesting that this will always work but it does reduce the probability of a successful attack - and security is 100% about probability.
>> Claiming "Exposing predictable identifiers to the world is never a good thing." tho is just FUD
Fully agree, this post is a great example: I can increment the id in the url and see the next post - no harm done.