@syncfusion/syncfusion-blazor-security

Configure Content Security Policy (CSP) for Syncfusion Blazor components across Blazor Server, WebAssembly, and Auto render modes � self-hosted and CDN scenarios

View in AI SkillSafe app
Scanned · no findings
0 downloads
0 stars
0 demos
SKILL.md
namesyncfusion-blazor-security
descriptionConfigure Content Security Policy (CSP) for Syncfusion Blazor components across Blazor Server, WebAssembly, and Auto render modes � self-hosted and CDN scenarios

Syncfusion Blazor Security

Content Security Policy (CSP) configuration for Syncfusion Blazor components in browser-hosted applications (.NET 8, 9, 10).

When to Use

Use this skill when you need to:

  • Add a CSP <meta> tag to App.razor or index.html for Syncfusion components
  • Configure CSP for self-hosted (Static Web Assets) script and style delivery
  • Configure CSP for CDN-hosted Syncfusion scripts and styles
  • Understand which CSP directives Syncfusion components require and why

Quick Reference

Required CSP Directives at a Glance

Directive Value Reason
font-src 'self' data: Base64-encoded icon fonts
style-src 'self' 'unsafe-inline' Inline styles for sizing/positioning
script-src 'self' Dynamic code evaluation (animations, etc.)
connect-src 'self' https: wss: WebSocket and HTTPS connections
img-src data: https: Inline images and remote assets
object-src 'none' Block plugin content

CDN users: also append https://cdn.syncfusion.com/blazor/ to script-src and style-src.

Where to Add the CSP Tag

Project Type File
Blazor Web App (.NET 8/9/10) any render mode ~/Components/App.razor
Blazor WebAssembly Standalone wwwroot/index.html

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@syncfusion/syncfusion-blazor-security/verified)](https://skillsafe.ai/skill/@syncfusion/syncfusion-blazor-security/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@syncfusion/syncfusion-blazor-security/installs)](https://skillsafe.ai/skill/@syncfusion/syncfusion-blazor-security/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@syncfusion/syncfusion-blazor-security/scan)](https://skillsafe.ai/skill/@syncfusion/syncfusion-blazor-security/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@syncfusion/syncfusion-blazor-security/eval)](https://skillsafe.ai/skill/@syncfusion/syncfusion-blazor-security/)