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)
180
180
181
+
## START OF CSP REPORT BLOCK (DO NOT CHANGE THIS TEXT)
182
+
csp.report=\
183
+
default-src 'self' ; /* Limit the default to only the current server */\
184
+
connect-src 'self' ${CONNECTION.SOURCES} ; /* For security purposes limit allowed connection sources, can be substituted and appended via the LabKey Admin UI */\
185
+
object-src 'none' ; /* These tags are not currently used by LKS */\
186
+
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 */\
190
+
base-uri 'self' ; /* Limit the base tags to only source from current server */\
191
+
frame-ancestors 'self' ; /* Only allow iframe resources to the current server */\
192
+
frame-src 'self' ${FRAME.SOURCES} ; /* Only allow iframe resources from the current server plus explicitly declared external sources */\
193
+
report-uri https://www.labkey.org/admin-contentsecuritypolicyreport.api?${CSP.REPORT.PARAMS} ; /* Reports any encountered CSP conflicts to the supplied URL */
194
+
## END OF CSP REPORT BLOCK (DO NOT CHANGE THIS TEXT)
195
+
181
196
## Load optional application.properties if file exists - used for one-off labkey cloud use cases etc.
0 commit comments