Content Security Policy (CSP) er et ekstra sikkerhedslag, der hjælper med at opdage og begrænse bestemte typer angreb, inklusive Cross Site Scripting (XSS) og data-injektionsangreb. Disse angreb bruges til alt fra datatyveri til hærværk på websider og distribution af malware.
Hvis du bruger CSP på dit websted, skal du tilføje følgende regler for at Smartsupp live chat kan fungere korrekt:
CSP v3 - strikt, kompatibel med Google
Content-Security-Policy:object-src 'none';script-src 'nonce-{random}' 'strict-dynamic' 'unsafe-inline' https: http:;base-uri 'self';report-uri https://your-report-collector.example.com/CSP v2
Content-Security-Policy: connect-src: wss://*.smartsupp.com https://*.smartsupp.com https://*.smartsuppchat.com https://*.smartsuppcdn.com font-src: https://*.smartsuppcdn.com media-src: https://*.smartsuppcdn.com img-src: data: https://*.smartsuppcdn.com script-src: 'unsafe-inline' https://*.smartsuppchat.com https://*.smartsuppcdn.com style-src: 'unsafe-inline' https://*.smartsuppcdn.com
Ændringslog 2020-04-17: Tilføjet følgende
connect-src: https://*.smartsuppchat.com https://*.smartsuppcdn.com
2020-09-22: Fjernet følgende
connect-src: https://smartsupp-widget-161959.c.cdn77.org font-src: https://smartsupp-widget-161959.c.cdn77.org media-src: https://smartsupp-widget-161959.c.cdn77.org img-src: https://smartsupp-widget-161959.c.cdn77.org script-src: https://smartsupp-widget-161959.c.cdn77.org style-src: https://smartsupp-widget-161959.c.cdn77.org
