Page 1 of 1

A security engineer is assisting a developer with input validation, and they are studying the following code block: The

Posted: Sat Jul 23, 2022 7:37 pm
by answerhappygod
A security engineer is assisting a developer with input validation, and they are studying the following code block:

The security engineer wants to ensure strong input validation is in place for customer-provided account identifiers. These identifiers are ten-digit numbers. The developer wants to ensure input validation is fast because a large number of people use the system.
Which of the following would be the BEST advice for the security engineer to give to the developer?
A Security Engi 1
A Security Engi 1 (16.19 KiB) Viewed 61 times
A. Replace code with Java-based type checks
B. Parse input into an array
C. Use regular expressions
D. Canonicalize input into string objects before validation