Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is the purpose of input validation?
Consider why you would want to restrict user inputs.
Give an example of a character that should be escaped.
Think about how these characters are used in HTML.
What is the primary purpose of input validation?
Think about its role in security.
True or False: Escaping is only necessary for data presented in HTML.
Consider where else injection attacks could happen.
You are developing a web application that allows users to submit their comments. Describe how you would implement both input validation and escaping to protect this feature.
Think about the types of data that a comment might include.
Evaluate the security of a login form that only uses client-side validation and does not escape user inputs. What vulnerabilities might exist?
Consider vectors of attack that bypass browser security.
5 more questions in this section. Enroll free to practise them all.
Enroll free