3 ms·
> And using contiguous integers as user ids is the silliest thing that you can do given that it leaves you also open to enumeration attacks. I don't think it's
by naasking 9y ago
> And using contiguous integers as user ids is the silliest thing that you can do given that it leaves you also open to enumeration attacks.
I don't think it's silly, you just need to protect your parameters. There's a way to do this as part of the basic programming framework. See my other post: https://news.ycombinator.com/item?id=16947546 https://news.ycombinator.com/item?id=16947546