DEV Community

Discussion on: RESTful Security: Plug the Leaks!

Collapse
 
neilmadden profile image
Neil Madden

If your external ids are unguessable (e.g., 256-bit random strings) then this attack completely disappears. Another alternative is to only expose /api/accounts/me if there is no valid reason for a user to ever access any other account.