試験AD0-E725 トピック2 問題12 スレッド
Adobe AD0-E725のリアル試験問題集
問題 #: 12
トピック #: 2
問題 #: 12
トピック #: 2
A Developer working on a Magento 2 store needs to modify the Content Security Policy (CSP) to allow loading of images from a trusted external domain while maintaining strict policies for other resources. To accomplish this, the csp_whitelist.xml file must be updated.
Which code snippet should the Developer use to update the CSP configuration?
Which code snippet should the Developer use to update the CSP configuration?
おすすめの解答:B 解答を投票する
To allow loading of external images, the policy that must be updated is img-src in the csp_whitelist.xml.
Option A (default-src) is too broad and not best practice.
Option C (media-src) applies only to audio/video sources, not images.
Thus, B is the correct solution.
Reference:
Adobe Commerce DevDocs - Content Security Policies
Option A (default-src) is too broad and not best practice.
Option C (media-src) applies only to audio/video sources, not images.
Thus, B is the correct solution.
Reference:
Adobe Commerce DevDocs - Content Security Policies
山田** 2025-09-06 07:18:26
コメント
他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。
コメントを通報する
コメント中
今すぐ 新規登録 / ログイン (無料です)。