17. Web security: server-side attacks Flashcards

1
Q

What is an injection attack?

A

Untrusted data sent to an interpreter as part of a command/query

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you defend against an injection attack?

A

Validate/sanitise user data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly