airflow.providers.fab.www.extensions.init_security

Attributes

log

Functions

init_xframe_protection(app)

Add X-Frame-Options header.

init_api_auth(app)

Load authentication backends.

Module Contents

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

airflow.providers.fab.www.extensions.init_security.init_api_auth(app)[source]

Load authentication backends.

Was this entry helpful?