9 ms·
I don't really get the point of this post. Yes naming things is hard, but the fact that these two words are similar is actually a good thing, despite laypersons
by DowagerDave 2y ago
I don't really get the point of this post. Yes naming things is hard, but the fact that these two words are similar is actually a good thing, despite laypersons getting them confused, because they are both functionally and implementation-wise closely related. The confusion is not going to be solved with trying to relabel the concepts. The author never actually illustrates the harm caused by this confusion either. My guess is they ran into something like installing a package that didn't cover their desired needs, attributed this to the "auth" name and instead of moving on decided to write about it.
>> "The canonical solution is to call these "authn" and "authz", the n and z evoking the longer words."
or we could just use the longer words?
- billsmithaustin 2y agoMy experience: a lot of the confusion in technical conversations is due to two parties using the same term for different but related concepts. Relabeling the concepts to clarify the distinction is the right thing to do. >> or could we just use longer words? Agreed: relabeling, with longer words when necessary, can help.
- AlienRobot 2y agoFun parallel: https://inkscape-manuals.readthedocs.io/en/latest/_images/interface_areas.png https://inkscape-manuals.readthedocs.io/en/latest/_images/in... The toolbar is called "tool controls bar," the tool controls bar at the left is called "toolbox," and the toolbox at the right is called "commands bar." If you asked me I'd say it's 3 toolbars. And why is palette not palette bar?
- forkerenok 2y ago> And why is palette not palette bar? My guess that's because palette, the real world object, is something close to a bar itself, so it would be a bit of tautology. From the dictionary: Palette: a thin board or slab on which an artist lays and mixes colours.
- inanutshellus 2y agoFor some reason, with both words, I have to stop and think about what the "other auth- word" is so I can be sure I'm thinking of this "auth word" correctly. 1. Sees <authentication> 1a. "That's who I am, but to be sure..." 2. "Ehh... the other one is... <authorization>..." 3. "<authorization> is what I'm allowed to do so..." 4. "...yes, this one is who i am" Seriously, every time. I probably worried I'd remembered it backwards at one point early in my career and have never shaken the habit of double-checking myself on it.
- codelikeawolf 2y agoI did the exact same thing when I was reading the post! I had to stop reading and take a good 10 seconds to verify which one was which in my head. I use "auth" all the time as a placeholder for "you need to login to use this". I've never really thought too much about authorization versus authentication because to me, those are just implementation details under the "auth" umbrella.
- inanutshellus 2y agoTo put a name to the intuition, it's like verb-vs-noun if I just keep it shortened to "auth" * auth (noun) - credentials * auth (verb) - with permission, gain access. :shrug:
- pama 2y agoI authorize you to be authentic!
- test6554 2y agoHey, I wish electrons were assigned a positive charge and protons a negative one. Way back when. But oh well now.
- echoangle 2y agoCan you explain why switching the names would be better? I don’t get it
- cocoa19 2y agoI remember some messy conventions in electronics as a reason. The conventional flow of current goes from positive terminal to negative. But electrons actually flow from negative terminal to positive.
- thaumasiotes 2y agoBy convention, electrical current flows in the direction of the movement of positive charge. However, in the typical case, what's moving is electrons, which means the "current" is flowing in the opposite direction of the movement of the electrons. This is stupid and everyone hates it.
- djaro 2y agoBecause what we call electricity is electrons moving. So it would make sense for electrons to have the electric charge. Now we are in a weird situation where current flows from positive to negative, but electrons flow from negative to positive. It would be a lot more logical if the direction of the electrons was the direction of the current, but the name was arbitrarily decided before we knew what electrons were.
- opello 2y agoThis seems to warrant an appreciation for the nuances of the electromagnetic field, electric potential, and that electron drift in a conductor isn't really the same as varying potentials in the electromagnetic field.
- 2y ago
- ape4 2y agoSince nobody else has mentioned it... the Apache authn and authz modules https://httpd.apache.org/docs/2.4/mod/mod_authn_core.html https://httpd.apache.org/docs/2.4/mod/mod_authn_core.html https://httpd.apache.org/docs/2.4/mod/mod_authz_core.html https://httpd.apache.org/docs/2.4/mod/mod_authz_core.html
- dathinab 2y ago> or we could just use the longer words? we could but don't expect anyone with dyslexia noticing that a text says authorization when they subconsciously expect authentication (and don't explicitly double check) Through also if we use AuthN and AuthZ (with capitalization) it's quite clearly readable and hard to mistype and no longer the kind of words dyslexia makes it easy to misread (it never was in the category of things dyslexia makes easy to accidentally mix up when writing I think). Using authorization and authentication also can have issues if you use a text editor with auto completion, for AuthN/AuthZ you simply could not use autocompletion. > My guess is they ran into something like installing a package that didn't cover their desired needs, or got into problems because they used the wrong term in technical documentation, maybe in context of a security review or a requirements document which has been legally binding singed of > The confusion is not going to be solved with trying to relabel the concepts. Especially given that login likely implies both AuthN and AuthZ so it's not even "just" relabeling.
- karmakaze 2y agoI actually like AuthN and AuthZ as they serve as keywords rather than easy to misinterpret natural language.
- khaki54 2y agoIf I had to guess, one day the author was having a personal moment where they realized they had been using auth incorrectly in some way, then started a blog post for ranting purposes. During research for the blog they realized they were probably just personally wrong but had invested too much time to just delete the post. And here we are.
- OOPMan 2y agoJust your usual internet attention seeking I guess. Narcissism is a powerful stimulant ;-)