Multiple choice technology security

Which of the following is a countermeasure for a buffer overflow attack?

  1. Input field length validation

  2. Encryption

  3. Firewall

  4. Use of web forms

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Input field length validation directly checks that incoming data does not exceed buffer capacities, preventing buffer overflow vulnerabilities. Encryption protects confidentiality, firewalls control network access, and web forms are interface components; none of these address memory bounds directly.