Re:Yik Yak Hack
by chrisrogers on Monday December 08, 2014 @07:27PM
(#8720174)
to me it speaks more about poor security auditing. Treating the User ID as a public key instead of a private one to me signals lax security policy.
[ Parent
| on HN ]
Client-side code (even native apps) must be considered public. That means your API is also publicly discoverable.
A user ID is fine to use as a public key, but it must be paired with something private. Generally some sort of unique, crypographically-secure auth token is fine when combined with forced HTTPS connections.