You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## END OF CSP ENFORCE BLOCK (DO NOT CHANGE THIS TEXT)
141
142
142
143
## START OF CSP REPORT BLOCK (DO NOT CHANGE THIS TEXT)
143
144
csp.report=\
144
145
default-src 'self' ; /* Limit the default to only the current server */\
145
-
connect-src 'self' ${LABKEY.ALLOWED.CONNECTIONS} ; /* For security purposes limit allowed connection sources, can be substituted and appended via the LabKey Admin UI */\
146
+
connect-src 'self' ${CONNECTION.SOURCES} ; /* For security purposes limit allowed connection sources, can be substituted and appended via the LabKey Admin UI */\
146
147
object-src 'none' ; /* These tags are not currently used by LKS */\
147
-
style-src 'self' 'unsafe-inline' ; /* We currently have a few inline <style> tags that we are weeding out */\
148
+
style-src 'self' 'unsafe-inline' ${STYLE.SOURCES} ; /* We currently have a few inline <style> tags that we are weeding out */\
script-src 'unsafe-eval' 'strict-dynamic' 'nonce-${REQUEST.SCRIPT.NONCE}' ; /* Limit scripts that are allowed to those with nonces or transitive scripts */\
151
152
base-uri 'self' ; /* Limit the base tags to only source from current server */\
152
-
frame-ancestors 'self' ; /* Only allow embedding resources to the current server */\
153
+
frame-ancestors 'self' ; /* Only allow iframe resources to the current server */\
154
+
frame-src 'self' ${FRAME.SOURCES} ; /* Only allow iframe resources from the current server plus explicitly declared external sources */\
153
155
report-uri /admin-contentsecuritypolicyreport.api?${CSP.REPORT.PARAMS} ; /* Reports any encountered CSP conflicts to the supplied URL */
154
156
## END OF CSP REPORT BLOCK (DO NOT CHANGE THIS TEXT)
0 commit comments