Content deleted Content added
m RFC 2616 default reason phrase for 401 is "UNAUTHORIZED" |
What's a 'normal' web site. I think 'publicly accessible' is better here. |
||
Line 3:
To prevent the user name and password being read directly by a person, they are encoded as a sequence of [[Base64|base-64]] characters before transmission. For example, the user name <tt>"Aladdin"</tt> and password <tt>"open sesame"</tt> would be combined as <tt>"Aladdin:open sesame"</tt> – which is equivalent to <tt>QWxhZGRpbjpvcGVuIHNlc2FtZQ==</tt> when encoded in base-64. Little effort is required to translate the encoded string back into the user name and password, and many popular security tools will decode the strings "on the fly", so an [[encryption|encrypted]] connection should always be used to prevent interception.
One advantage of the basic access authentication is that it is supported by almost all popular web browsers. It is rarely used on
The basic access authentication was originally defined by RFC 1945 (''Hypertext Transfer Protocol – HTTP/1.0'') although further information regarding security issues may be found in RFC 2616 (''Hypertext Transfer Protocol – HTTP/1.1'') and RFC 2617 (''HTTP Authentication: Basic and Digest Access Authentication'').
|