airflow.providers.fab.www.extensions.init_security
¶
Module Contents¶
Functions¶
Add X-Frame-Options header. |
Attributes¶
- airflow.providers.fab.www.extensions.init_security.init_xframe_protection(app)[source]¶
Add X-Frame-Options header.
Use it to avoid click-jacking attacks, by ensuring that their content is not embedded into other sites.
See also: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options