1.
What is the primary purpose of form data validation in web applications?
2.
Which of the following is a common security vulnerability associated with form data submission?
3.
Which PHP function is commonly used to sanitize input data from a form to prevent SQL injection?
4.
What does XSS stand for in the context of web security?
5.
Which PHP function is commonly used to sanitize input data from a form to prevent XSS attacks?
6.
What security measure helps prevent form spamming by distinguishing between human users and bots?
7.
Which of the following is NOT a common input validation technique for form data?
8.
What is the purpose of using prepared statements when interacting with databases in PHP?
9.
Which of the following is a secure method for storing passwords in a database?
10.
What security mechanism prevents Cross-Site Request Forgery (CSRF) attacks by generating and validating unique tokens for each form submission?