Skip to content
Myr

Erased duplicated links on title

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Lowell Abbott · committed by Lowell Abbott · parent 98b0f96 · Browse files · 1 file+6 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−6 removed

  • other:+6 added−6 removed

1 file+6 added−6 removed

modified:docs/security.rst+6 added-6 removed
120 unmodified lines
121----------------122123This section contains a list of headers supported by Flask and some packages that implements them.124125`Content Security Policy <https://csp.withgoogle.com/docs/index.html>`_ (CSP)125Content Security Policy (CSP)126-----------------------------------------------------------------------------127128Enhance security and prevents common web vulnerabilities such as cross-site scripting and MITM related attacks.129
9 unmodified lines
139* `flask-talisman <https://github.com/GoogleCloudPlatform/flask-talisman>`_140* `flask-csp <https://github.com/twaldear/flask-csp>`_141* `flask-secure-headers <https://github.com/twaldear/flask-secure-headers>`_142143`HTTP Strict Transport Security <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security>`_ (HSTS)143HTTP Strict Transport Security (HSTS)144------------------------------------------------------------------------------------------------------------------------------145146Redirects http requests to https on all urls, preventing MITM attacks.147
10 unmodified lines
158* `flask-talisman <https://github.com/GoogleCloudPlatform/flask-talisman>`_159* `flask-sslify <https://github.com/kennethreitz/flask-sslify>`_160* `flask-secure-headers <https://github.com/twaldear/flask-secure-headers>`_161162`X-FRAME-OPTIONS <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options>`_ (Clickjacking protection)162X-FRAME-OPTIONS (Clickjacking protection)163-------------------------------------------------------------------------------------------------------------------------164165Prevents the client from clicking page elements outside of the website, avoiding hijacking or UI redress attacks.166
7 unmodified lines
174175* `flask-talisman <https://github.com/GoogleCloudPlatform/flask-talisman>`_176* `flask-secure-headers <https://github.com/twaldear/flask-secure-headers>`_177178`X-Content-Type-Options <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options>`_178X-Content-Type-Options179-------------------------------------------------------------------------------------------------------------180181Prevents XSS by blocking requests on clients and forcing them to read the content type instead of first opening it.182
5 unmodified lines
188189* `flask-talisman <https://github.com/GoogleCloudPlatform/flask-talisman>`_190* `flask-secure-headers <https://github.com/twaldear/flask-secure-headers>`_191192`Cookie options <https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#Secure_and_HttpOnly_cookies>`_192Cookie options193----------------------------------------------------------------------------------------------------------194195For setting cookies on client-side storage.196
7 unmodified lines
204205* `flask-talisman <https://github.com/GoogleCloudPlatform/flask-talisman>`_206* `flask-secure-headers <https://github.com/twaldear/flask-secure-headers>`_207208`HTTP Public Key Pinning <https://developer.mozilla.org/en-US/docs/Web/HTTP/Public_Key_Pinning>`_ (HPKP)208HTTP Public Key Pinning (HPKP)209-------------------------------------------------------------------------------------------------------210211For associating clients with web servers through a certificate key and prevent MITM attacks.212
18 unmodified lines