Confirmed users
491
edits
Line 178: | Line 178: | ||
* The CSRF token is added as a hidden field for forms or within the URL if the state changing operation occurs via a GET | * The CSRF token is added as a hidden field for forms or within the URL if the state changing operation occurs via a GET | ||
* The server rejects the requested action if the CSRF token fails validation | * The server rejects the requested action if the CSRF token fails validation | ||
Note: Some frameworks (such as django) provide this capability. Use the established CSRF protection from the framework instead of creating your own. | |||
===Preventing Malicious Site Framing (ClickJacking)=== | ===Preventing Malicious Site Framing (ClickJacking)=== |