Using Popupsmart In the Context of Content Security Policy (CSP)
Here is the information you need to learn how to use Popupsmart with a Content Security Policy (CSP).
Content Security Policy (CSP) is a critical web security standard designed to protect your website from injection attacks by allowing developers to manage which resources their site can load.
Important
When using Popupsmart, configure your CSP headers or meta tags correctly to ensure Popupsmart's scripts and assets can load and function properly.
To integrate Popupsmart with your CSP, modify your settings to include Popupsmart's sources. This ensures robust security while leveraging Popupsmart's features without interruptions.
Required CSP Directives
Add the following domains to your CSP configuration:
table { width: 100%; border-collapse: collapse; } th, td { padding: 8px 12px; border: 1px solid #ddd; text-align: left; } th { background-color: #f4f4f4; }
| Directive | Domains |
|---|---|
| script-src | cdn.popupsmart.com |
| style-src | cdn.popupsmart.com |
| img-src | cdn.popupsmart.com |
| connect-src | app.popupsmart.com |
Need Help?
Still have questions? Contact us via chat box or email us at hello@popupsmart.com
How is this guide?