Quiz: CSRF & Injection Attacks
Test what you learned in this lesson before moving on.
Lesson Quiz
Pass with 80% to complete this lesson.
1. How does a CSRF attack work?
2. What is the primary defense against SQL injection?
3. Why is `execFile` safer than `exec` in Node.js?
4. What does the SameSite=Lax cookie attribute do?