Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Security
/
Web security fundamentals
A validated invoice ID is inserted into a SQL query. Which control protects the SQL inter…
from Web security fundamentals
Node 24
beginner
2 min
A validated invoice ID is inserted into a SQL query. Which control protects the SQL interpretation boundary?
Bind the ID as a parameter through the database driver.
Add the Access-Control-Allow-Origin response header.
HTML-encode the ID before string concatenation.
Make the ID a UUID so it is difficult to guess.
Check
Ask AI about this kata
Report an error
next kata
What does a correctly configured CORS policy primarily control?
Quiz
A new version is available
Reload