airflow.providers.fab.www.extensions.init_security

Module Contents

Functions

init_xframe_protection(app)

Add X-Frame-Options header.

Attributes

log

airflow.providers.fab.www.extensions.init_security.log[source]
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

Was this entry helpful?