Security
A network team builds a script that calls the REST API of a controller across the enterprise WAN. Which measure best protects the credentials and data in transit?
Show the answer
Correct answerB. Send all API requests over HTTPS
AWhy not this: Base64 is reversible encoding, not encryption, so credentials stay exposed to anyone who captures traffic.
BWhy this is right: HTTPS uses TLS to encrypt traffic and authenticate the server, protecting credentials and data in transit.
CWhy not this: A nonstandard port only hides the service; the traffic is still sent in clear text over HTTP.
DWhy not this: Limiting the method does not encrypt anything; GET requests and their credentials are still readable.
HTTPS wraps REST calls in TLS, so credentials, tokens and payloads are encrypted and the server is authenticated. Base64 is only an encoding that anyone can reverse, so it does not protect credentials sent over plain HTTP.