yalelibrary / YUL-DC

Preliminary issue tracking for Yale University Libraries Digital Collections project
3 stars 0 forks source link

[SPIKE] Investigation for Enabling CSP #2838

Closed laurenb33 closed 2 weeks ago

laurenb33 commented 1 month ago

For the CSP SPA exception, we need to conduct some research about implementing a CSP for DCS. Here are some questions to start the investigation:

-What steps would be to be taken to enable a CSP for DCS? -How long would it take for this type of configuration to be enabled? -How do we turn on the CSP without breaking the inline javascript?

K8Sewell commented 3 weeks ago

What steps would be to be taken to enable a CSP for DCS?

source

How long would it take for this type of configuration to be enabled?

4 to 12 hours

How do we turn on the CSP without breaking the inline javascript?

There is a setting to enable a reporting only functionality. However, once CSP is enabled it will break all inline javascript. Enabling this report only operation should only take 30 minutes to 2 hours.