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) 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
Correct Answer:
Verified
Q135: Several recent ransomware outbreaks at a company
Q136: An organization is improving its web services
Q137: A technician is configuring security options on
Q138: The Chief Information Security Officer (CISO) suspects
Q139: A network printer needs Internet access to
Q141: A security engineer successfully exploits an application
Q142: Joe, a penetration tester, is assessing the
Q143: A networking administrator was recently promoted to
Q144: A security administrator is advocating for enforcement
Q145: A network administrator is concerned about a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents