Skip to content

Apr 29: CSP and CORS

Learning Objectives

After today's class, you should be able to:

  • Explain how a cross-site scripting (XSS) attack can be performed.
  • Write CSP directives that block local, inline, and/or remote content.
  • Describe how CORS is used to allow limited cross-origin requests.

Lesson Outline

Slides [30 min]

Work Time [45 min]

  • Complete Prep 12 during class time
  • Show Project 3 progress to instructor
    • 5 min per team; sign up for a time slot