Skip to main content

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

소스 정보

저장소
syncfusion/blazor-ui-components-skills
최근 소스 활동
2026년 7월 6일 07:20
감지된 SKILL.md 언어
영어
스타
4
포크
2

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
syncfusion-blazor-security
description
Configure Content Security Policy (CSP) for Syncfusion Blazor components across Blazor Server, WebAssembly, and Auto render modes � self-hosted and CDN scenarios
metadata
{"author":"Syncfusion Inc","version":"34.1.29"}
# 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 - **Full CSP guide**: See [content-security-policy.md](references/content-security-policy.md) ## 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` |
GitHub에서 보기