Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

JWebPlus ID:999984556200

 
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following are correct about HTTP basic authentication mechanism?
I took: Password is passed in encrypted form.
Right answer: Password is passed as plain text.
Explanation:Basic Authentication is not a secure authentication protocol. User passwords are sent in simple base64 encoding, and the target server is not authenticated.
I think: base64 might be not secure but it is an encryption mechanism.
Am I missing something?
Axel
[ February 28, 2002: Message edited by: Axel Janssen ]
 
Enthuware Software Support
Posts: 4428
41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Base64 encoding is not exactly an encryption. It's a conversion from ASCII format to Base64 format(as good as ASCII to say EBCDIC). You would not say that ASCII and EBCDIC are encryption mechanisms. Would you
Just like ASCII represents A by 65, Base64 represents it by 0.
For more info: http://www.faqs.org/rfcs/rfc1521.html
 
Axel Janssen
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
For me its a question of definition of the term encryption.
Axel
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good to know that, Paul.
Thanks.
- satya
 
She's brilliant. She can see what can be and is not limited to what is. And she knows this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic