[&] Which technique involves checking data against expected formats and constraints? - Output Encoding - Data Validation - Regular Expression Filtering - Input Sanitization [&] What is the role of input sanitization in input filtering? - To improve user interface responsiveness - To reject all user input - To escape or clean input data from dangerous characters - To minimize server processing times [&] What is a limitation of using regular expressions for input filtering? - They are only available in client-side filtering - Regular expressions cannot handle numeric input - Regular expressions slow down the network speed - Improper usage can introduce vulnerabilities [&] Why is server-side filtering generally preferred over client-side filtering? - Server-side filtering reduces server load - Client-side filtering cannot use regular expressions - Server-side filtering is invisible to the user - Client-side filtering is easily bypassed by examining source code [&] Which of the following is a common vulnerability mitigated by input filtering? - Phishing - Cross-Site Scripting (XSS) - Buffer Overflow - Man-in-the-Middle Attack [&] What is the primary purpose of input filtering in web applications? - To provide an interactive user experience - To inspect and control data input and output for security - To enhance application performance - To facilitate faster loading times