airflow.providers.fab.www.extensions.init_security¶
属性¶
函数¶
添加 X-Frame-Options 头部。 |
|
|
加载认证后端。 |
模块内容¶
- airflow.providers.fab.www.extensions.init_security.init_xframe_protection(app)[source]¶
添加 X-Frame-Options 头部。
用于防止点击劫持攻击,确保其内容不会嵌入到其他网站中。
另请参阅: https://mdn.org.cn/en-US/docs/Web/HTTP/Headers/X-Frame-Options