Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the header for HTTP Authentication called "Authorization" and not "Authentication"

As I understand, to "Authenticate" means to prove you are who you claim to be. To be "Authorized" means that you have permission to do the operation you are attempting.

Why then, in the RFC for HTTP authentication, do you authenticate (prove you are who you say you are) via a header called 'Authorization'? You are not proving that you are allowed to do a certain operation.

The "basic" authentication scheme is based on the model that the client must authenticate itself with a user-ID and a password for each realm...

...If the user agent wishes to send the userid "Aladdin" and password "open sesame", it would use the following header field:

Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
like image 209
everybody Avatar asked Feb 07 '17 19:02

everybody


1 Answers

a) The actual RFC is 7235, not 2617.

b) I assume it's a historic mistake. That's the best answer I have (note that I'm one of the authors of the newer RFC)

like image 51
Julian Reschke Avatar answered Nov 15 '22 01:11

Julian Reschke