Bird
0
0

How can you securely transmit Basic Authentication credentials over the internet?

hard📝 Application Q9 of 15
Rest API - Authentication and Authorization
How can you securely transmit Basic Authentication credentials over the internet?
AUse HTTPS to encrypt the entire HTTP request including headers
BOnly base64 encode credentials without encryption
CSend credentials in plain text over HTTP
DUse HTTP POST instead of GET for sending credentials
Step-by-Step Solution
Solution:
  1. Step 1: Understand base64 encoding limits

    Base64 encoding only hides data, it does not encrypt or secure it.
  2. Step 2: Identify secure transmission method

    HTTPS encrypts the entire request, protecting credentials from interception.
  3. Final Answer:

    Use HTTPS to encrypt the entire HTTP request including headers -> Option A
  4. Quick Check:

    Secure Basic Auth = Use HTTPS [OK]
Quick Trick: Base64 is not encryption; always use HTTPS [OK]
Common Mistakes:
  • Thinking base64 is secure encryption
  • Sending credentials over HTTP
  • Confusing HTTP methods with security

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes