349
Auth (lemmy.mywire.xyz)
you are viewing a single comment's thread
view the rest of the comments
[-] kensand@lemmy.kensand.net 10 points 2 years ago

And even with 'AuthN' vs 'AuthZ' it always takes me a minute to spell them out and work out which is which

[-] blackstrat@lemmy.fwgx.uk 5 points 2 years ago

What's this authN / authZ business?

[-] RandomDevOpsDude@programming.dev 9 points 2 years ago* (last edited 2 years ago)

AutheNtication vs. AuthoriZation, I believe

[-] blackstrat@lemmy.fwgx.uk 3 points 2 years ago
[-] dreadgoat@lemmy.fmhy.ml 16 points 2 years ago* (last edited 2 years ago)

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 2 years 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.

[-] dreadgoat@lemmy.fmhy.ml 1 points 2 years ago

N comes before Z in the alphabet, and you must always AuthN before you can AuthZ. Easy mnemonic.

[-] RandomDevOpsDude@programming.dev 1 points 2 years ago

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)

[-] SpezCanLigmaBalls@lemmy.world 1 points 2 years ago
[-] SpaceNoodle@lemmy.world 2 points 2 years ago* (last edited 2 years ago)
[-] RandomDevOpsDude@programming.dev 1 points 2 years ago

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

load more comments (8 replies)
load more comments (8 replies)
this post was submitted on 25 Jun 2023
349 points (99.2% liked)

Programmer Humor

24790 readers
499 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 2 years ago
MODERATORS