Hofmaimaier@feddit.org to Programmer Humor@programming.dev · 3 months agoThe mist of the wwwfeddit.orgimagemessage-square90linkfedilinkarrow-up1433arrow-down149
arrow-up1384arrow-down1imageThe mist of the wwwfeddit.orgHofmaimaier@feddit.org to Programmer Humor@programming.dev · 3 months agomessage-square90linkfedilink
minus-squarewheezy@lemmy.mllinkfedilinkEnglisharrow-up10·3 months agoWouldn’t unauthorized only be meant for AFTER a login is successful? Like, the user should have to have an active session first. Maybe you’re just talking about that case though.
minus-squaresmeg@feddit.uklinkfedilinkEnglisharrow-up3·3 months agoMaybe I meant unauthenticated. What is this, mandatory cybersecurity education!?
minus-squarebountygiver [any]@lemmy.mllinkfedilinkEnglisharrow-up1·3 months agounauthorized (403) is still valid for unlogged in as you can permit anonymous access to certain resources. unauthenticated (401) is for when you should be redirecting the user to the login page
minus-squarewheezy@lemmy.mllinkfedilinkEnglisharrow-up1·edit-23 months agoThanks. I think I might have been misreading these in my head. Dyslexia is a dickhead. The number codes really helped.
Wouldn’t unauthorized only be meant for AFTER a login is successful?
Like, the user should have to have an active session first. Maybe you’re just talking about that case though.
Maybe I meant unauthenticated. What is this, mandatory cybersecurity education!?
unauthorized (403) is still valid for unlogged in as you can permit anonymous access to certain resources.
unauthenticated (401) is for when you should be redirecting the user to the login page
Thanks. I think I might have been misreading these in my head. Dyslexia is a dickhead. The number codes really helped.