Jump to content

Manual:$wgEditPageFrameOptions: Difference between revisions

From mediawiki.org
Content deleted Content added
bug link
Line 23: Line 23:


* [[Manual:$wgBreakFrames]]
* [[Manual:$wgBreakFrames]]
* [[Manual:$wgApiFrameOptions]]
* [https://bugzilla.wikimedia.org/show_bug.cgi?id=26561 Bug 26561]
* [https://bugzilla.wikimedia.org/show_bug.cgi?id=26561 Bug 26561]



Revision as of 02:28, 8 November 2013

Site customization: $wgEditPageFrameOptions
Control framing of wiki pages globally.
Introduced in version:1.16.1
Removed in version:Still in use
Allowed values:(string)
Default value:DENY

This variable determines the X-Frame-Options header to send on pages sensitive to clickjacking attacks, such as edit pages. This prevents those pages from being displayed in a frame or iframe. The options are:

'DENY'
Do not allow framing. This is recommended for most wikis.
'SAMEORIGIN'
Allow framing by pages on the same domain. This can be used to allow framing within a trusted domain. This is insecure if there is a page on the same domain which allows framing of arbitrary URLs.
false
Allow all framing. This opens up the wiki to XSS attacks and thus full compromise of local user accounts. Private wikis behind a corporate firewall are especially vulnerable. This is not recommended.

See also