Saturday, October 11, 2014

Its not Aladdin - its Ali Baba :-)

Ali Baba is a character from the folk tale Ali Baba and the Forty Thieves. This story is included in many versions of the One Thousand and One Nights, to which it was added by Antoine Galland in the 18th century. It is one of the most familiar of the "Arabian Nights" tales.

In the story, Ali Baba is a poor woodcutter who discovers the secret of a thieves' den, entered with the pass phrase "open sesame".

Aladdin is also  a Middle Eastern folk tale. It is one of the tales in same book One Thousand and One Nights, and one of the best known, although it was actually added to the collection in the 18th century by Frenchman Antoine Galland

It was Ali Baba - not Aladin who knew the pass phrase  "open sesame".

It look like in the RFC 2617 :HTTP Authentication: Basic and Digest Access Authentication Aladin has stolen Ali Baba's pass phrase :-)
If the user agent wishes to send the userid "Aladdin" and password "open sesame", it would use the following header field:

Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==