General Security Concepts

Customers submit payment details to a company's web application over plain HTTP. Which change protects the data while it crosses the internet?

Show the answer

Correct answerA. Enable TLS on the web server

AWhy this is right: TLS encrypts the session between browser and server, so card data cannot be read in transit.

BWhy not this: File-level encryption protects individual files at rest and does not encrypt network sessions.

CWhy not this: Full-disk encryption protects stored data if the drive is stolen, not data moving over the network.

DWhy not this: Database encryption protects stored tables, but the traffic to the web server stays in plaintext.

TLS encrypts data in transit between the browser and the server, which is what HTTPS provides. Full-disk encryption only protects data at rest on the server and does nothing for traffic crossing the network.