mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-01 05:49:55 +00:00
10 lines
776 B
Plaintext
10 lines
776 B
Plaintext
|
caption: csrf-disable
|
||
|
created: 20180630180340448
|
||
|
modified: 20180702142051779
|
||
|
tags: [[WebServer Parameters]]
|
||
|
title: WebServer Parameter: csrf-disable
|
||
|
type: text/vnd.tiddlywiki
|
||
|
|
||
|
The [[web server configuration parameter|WebServer Parameters]] ''csrf-disable'' causes the usual [[cross-site request forgery|https://en.wikipedia.org/wiki/Cross-site_request_forgery]] checks to be disabled. This might be necessary in unusual or experimental configurations.
|
||
|
|
||
|
The only currently implemented check is the use of a [[custom header|https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet#Protecting_REST_Services:_Use_of_Custom_Request_Headers]] called `x-requested-with` that must contain the string `TiddlyWiki` in order for write requests to succeed.
|