What is a CSRF attack and how is it typically prevented?
-
A
A database attack prevented by encryption
-
B
Cross-Site Request Forgery — prevented by using CSRF tokens in forms and state-changing requests
-
C
A code injection attack prevented by input sanitization
-
D
A session hijacking attack prevented by HTTPS