News for hackers. Stuff that matters.
Re:Instead of "auth", we should say "permissions" and "login" by jagged-chisel on Monday May 27, 2024 @02:17PM (#40493182)
IMO…

To “log in” is to convert the username/password pair (or API key, or whatever) into a smaller token with an expiration. Doesn’t matter of it’s put in a cookie in my browser, held in memory by some other API client, etc.

Aside: Why bother even doing that? Because every time you transmit the credential, there’s the possibility of leaking. We would rather leak the token that has an expiration.

There are no comments on this comment yet.