Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Create the Content Security Policy External Resource in the Partition CSP LANSA folder that you want to use with your web page:

    Image Modified

  2.  Edit the contents of your Content Security Policy:
    1. The Content Security Policy External Resource is a text file with lines for each directive (name-values). The text file must be encoded in UTF-8.
    2. If your style-src and script-src keywords don't include the 'unsafe-inline' value, you must add a nonce attribute (represented by the replacement variable %{nonce_hdr}%
  3. Edit the properties of your WAM and select your Content Security Policy.
    Image Removed
    Image Added

  4. Save and recompile your WAM.
  5. Run your web page. The contents of your CSP external resource file are sent as HTTP headers.