Content Security Policies (CSP)

In this lab, you will use CSP to control when parts of your page can and cannot be displayed.


For individual JavaScript properties, please refer to the MDN reference list.


Starting Code

Start by extracting provided source code and opening the files in your preferred text editor:

  • Code to be released later

Requirements

This lab is currently under development and will be released later.


Submission

When you are finished, submit to Gradescope.



James Madison University logo


© 2011-2025 Michael S. Kirkpatrick.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.