|
1 | | -= The TinyMCE Content Security Policy guide |
| 1 | += {productname} Content Security Policy and allowed domains |
2 | 2 | :navtitle: Content Security Policies (CSP) |
3 | | -:description: Information and options related to using TinyMCE with a Content Security Policy (CSP) |
4 | | -:keywords: security, csp |
| 3 | +:description: Content Security Policy directives, firewall allowlisting, and proxy configuration for {productname} and {cloudname} services |
| 4 | +:keywords: security, csp, firewall, allowlist, proxy, whitelist |
5 | 5 |
|
6 | 6 | include::partial$misc/general-csp.adoc[] |
7 | 7 |
|
| 8 | +[[firewall-and-proxy-allowlisting]] |
| 9 | +== Firewall and proxy allowlisting |
| 10 | + |
| 11 | +Organizations operating behind a firewall or forward proxy that restricts outbound internet access must allowlist {cloudname} domains for cloud-hosted {productname} features to function. |
| 12 | + |
| 13 | +[[required-domains]] |
| 14 | +=== Required domains |
| 15 | + |
| 16 | +Allowlist the following wildcard domain to cover all {cloudname} services: |
| 17 | + |
| 18 | +`+*.tiny.cloud+` |
| 19 | + |
| 20 | +This single entry covers all cloud-hosted services, including but not limited to: |
| 21 | + |
| 22 | +* Editor loading and plugin delivery (`+cdn.tiny.cloud+`) |
| 23 | +* xref:tinymceai.adoc[TinyMCE AI] (`+tinymceai.api.tiny.cloud+`) |
| 24 | +* xref:importword.adoc[Import from Word] (`+importdocx.api.tiny.cloud+`) |
| 25 | +* xref:exportword.adoc[Export to Word] (`+exportdocx.api.tiny.cloud+`) |
| 26 | +* Image proxy (`+imageproxy.tiny.cloud+`) |
| 27 | +* Link checking (`+hyperlinking.tiny.cloud+`) |
| 28 | +* Spell checking (`+spelling.tiny.cloud+`) |
| 29 | + |
| 30 | +NOTE: Self-hosted deployments that do not connect to any {cloudname} services do not require this allowlisting. For self-hosted services such as on-premises document converters or AI, allowlist the domain where the self-hosted service is running instead. |
| 31 | + |
| 32 | +[[required-http-headers]] |
| 33 | +=== Required HTTP headers |
| 34 | + |
| 35 | +Ensure the proxy retains (does not strip) the following HTTP headers on requests to `+*.tiny.cloud+` domains: |
| 36 | + |
| 37 | +* `+tiny-api-key+` |
| 38 | +* `+tinymce-api-key+` |
| 39 | + |
| 40 | +These headers are required for API key validation and service authentication. |
| 41 | + |
8 | 42 | == Content Security Policy related options |
9 | 43 |
|
10 | 44 | include::partial$configuration/content_security_policy.adoc[leveloffset=+1] |
0 commit comments