legacy-knowledge-base
公開されました Jul. 2, 2025

"コンテンツセキュリティポリシー "ヘッダーがアプリケーションのレスポンスで利用できない

written-by

Thanga Meena

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • アプリケーションレスポンスで "Content security policy "ヘッダを利用できない。 CSPを追加または有効にする方法は?

Environment

  • Liferay DXP 7.3

解決策

  • Liferayは、CSPディレクティブを構成するためのOOTBコンフィギュレーションやUI設定が用意されていないため、CSPを直接サポートするものではありません。 一方、Liferayはサードパーティーの実装を適用する可能性を排除していません。
  • したがって、お客様の独自の判断で、ウェブサーバーまたはテーマレベルで有効にすることができます。
  • 詳しくは、以下の内示書をご覧ください。

追加情報

注意:以下の手順と非公式リンクは、Liferay Supportの範囲を超えたカスタム実装のアイデアを含んでいます。 ご利用の際は、適切なご判断をお願いいたします。 Liferayからの実装アイデアに関するさらなる支援については、専用の グローバルサービスチームまでご連絡ください。 営業担当者は、GSチームとの接続性を発見し、詳細について知るための大きなリソースとなります。

did-this-article-resolve-your-issue

legacy-knowledge-base