A

Admin • 833.24K Points
Coach

Q. How can you prevent Cross-Site Request Forgery (CSRF) in a Python web app?

  • (A) Using CSRF tokens in forms
  • (B) Disabling cookies
  • (C) Using HTTP GET for sensitive operations
  • (D) Ignoring user input
  • Correct Answer - Option(A)
  • Views: 25
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

CSRF tokens verify that requests come from trusted sources.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.