PrepZone Logo
PrepZone
Back to Database

Database · Easy

What is SQL injection and how do you prevent it?

DatabaseAdministrationFresherSQL

Answer preview

SQL injection happens when user input is concatenated into a SQL string, so the database parses attacker-supplied text as code rather than treating it as data. It remains in the OWASP Top 10 and can lead to full data exfiltration, authentication bypass, or data destruction.…