Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What does a Content Security Policy defend against most directly?

  1. A Cross-site scripting, by restricting which scripts may execute
  2. B SQL injection
  3. C Brute force attacks
  4. D Denial of service
Answer

Cross-site scripting, by restricting which scripts may execute

Even if a payload is injected, a strict CSP can prevent inline or third-party scripts from running.

All Cybersecurity MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as