this post was submitted on 25 Jun 2023
337 points (98.8% liked)

Programmer Humor

19480 readers
30 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] blackstrat@lemmy.fwgx.uk 5 points 1 year ago (2 children)

What's this authN / authZ business?

[–] RandomDevOpsDude@programming.dev 8 points 1 year ago* (last edited 1 year ago) (2 children)

AutheNtication vs. AuthoriZation, I believe

[–] blackstrat@lemmy.fwgx.uk 3 points 1 year ago (3 children)
[–] dreadgoat@lemmy.fmhy.ml 16 points 1 year ago* (last edited 1 year ago) (2 children)

AuthN is: I claim to be dreadgoat, but how can I prove it? (login, password, mfa)
AuthZ is: Now that you know I am dreadgoat, do I have permission to post this comment? (access control, roles, attributes)

[–] blackstrat@lemmy.fwgx.uk 3 points 1 year ago

I know what they are and the differences, I thought the N and Z would somehow be an easy way to work it out/remember. But the trick is just to remember which is which.

This is a great explanation, thank you.

I deal mainly with authorization and I'm not sure I've ever had the differences explained this simply (so I incorrectly lump them together)

[–] SpaceNoodle@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

Ahh, that would make more sense, thank you - corrected

[–] kensand@lemmy.kensand.net 6 points 1 year ago

That's the thing, nobody really knows!