Manual:$wgApiFrameOptions

This page is a translated version of the page Manual:$wgApiFrameOptions and the translation is 64% complete.
セキュリティ: $wgApiFrameOptions
API ページのフレーミングを制御します。
導入されたバージョン:1.20.0 (Gerrit change 20472; git #32b99b11)
除去されたバージョン:使用中
許容される値:(文字列) または false
既定値:'DENY'

詳細

Disallow framing of API pages directly, by setting the X-Frame-Options header. Since the API returns CSRF tokens, allowing the results to be framed can compromise your user's account security.

選択肢は以下の通りです:

  • 'DENY' - Do not allow framing. This is recommended for most wikis.
  • 'SAMEORIGIN' - Allow framing by pages on the same domain.
  • false - フレーム化をすべて許可します。

関連項目