全部工具

CSP 策略生成

可視化生成 Content-Security-Policy Header。

CSP 策略生成
處理結果
等待處理

輸入與結果說明

CSP 指令限制不同資源的來源,過寬的允許項會削弱效果。部署前請用實際頁面檢查指令碼、樣式與嵌入資源,避免阻斷必要功能。