[ 
https://issues.apache.org/jira/browse/AIRFLOW-6914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17077138#comment-17077138
 ] 

ASF GitHub Bot commented on AIRFLOW-6914:
-----------------------------------------

kaxil commented on pull request #8173: Revert "[AIRFLOW-6914] Add a default 
robots.txt"
URL: https://github.com/apache/airflow/pull/8173
 
 
   Reverts apache/airflow#7653 for the reasons mentioned in the PR itself
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Add a default robots.txt to deny all search engines
> ---------------------------------------------------
>
>                 Key: AIRFLOW-6914
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6914
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: security, ui
>    Affects Versions: 1.10.6, 1.10.7, 1.10.8, 1.10.9
>            Reporter: Kaxil Naik
>            Priority: Major
>              Labels: gsoc
>             Fix For: 1.10.11
>
>
> If the Airflow UI is public, Google can index it and if the Authentication 
> has not been enabled it is a serious security threat if it is a prod cluster.
> Something like this probably should work
> {code:python}
> @app.route('/robots.txt', methods=['GET'])
> def robotstxt():
>     return send_from_directory(os.path.join(app.root_path, 'static', 'txt'),
>                                'robots.txt')
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to