Which of the following is a countermeasure for a buffer overflow attack?
Input field length validation
Encryption
Firewall
Use of web forms