Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: