a11y.skipToMainContent
1

CSPジェネレーター

コンテンツセキュリティポリシー(CSP)ヘッダーをビジュアルエディタで作成します。 スクリプト、スタイル、イメージ、フォント、接続のディレクティブを設定します.

CSP Generator
CSP Header
More options
Was this tool helpful?
Send output to:
Advertisement

How to use CSP Generator

  1. 必要なCSPディレクティブを選択します.
  2. 各ディレクティブに許可されたソースを追加します.
  3. 違反報告のレポート-uri の設定.
  4. 生成されたCSPヘッダーをコピーします.

CSPジェネレーターとは?

コンテンツセキュリティポリシー(CSP)ジェネレーターは、クロスサイトスクリプト(XSS)、クリックジャック、コードインジェクション攻撃を防ぐためのHTTPヘッダーを作成します。 CSP は、コンテンツのソースがページの読み込みを許可するブラウザを指示します。

このツールは、script-src、style-src、img-src、font-src、connect-srcなどのCSPディレクティブを構成するためのビジュアルインターフェイスを提供します。 サーバー構成に追加できる完全なCSPヘッダー値が生成されます。

Advertisement

FAQ

コンテンツセキュリティポリシーとは?
CSPは、XSSやデータ射出攻撃など、特定の種類の攻撃を検知・軽減するセキュリティレイヤーです.
CSPがサイトを破棄しますか?
レポートのみモードで開始し、強制する前に問題を識別します。 Report-uri ディレクティブを使用して、違反レポートを収集します.

Related tools

Author

NK
Prof. Noah Klein"The Privacy Guardian"

Cybersecurity Researcher & Privacy Advocate

Professor Klein holds a PhD in Information Security and has testified before EU parliamentary committees on data privacy legislation. He builds encryption tools for journalists, audits web applications for security flaws, and believes that privacy is not a feature but a fundamental right. His research has been cited in Wired, Nature, and The Guardian, and he advises nonprofits on responsible data stewardship.

Advertisement