You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/06/20 00:28:53 UTC

[GitHub] [airflow] mik-laj commented on issue #16541: A way to make flask-caching optional / use a different caching mechanism

mik-laj commented on issue #16541:
URL: https://github.com/apache/airflow/issues/16541#issuecomment-864480727


   I would like to add that it is possible to configure the Flask-app quite freely(only 2 options are hardcoded), and therefore also choose most of the cache configuration options. 
   https://github.com/apache/airflow/blob/2d85a95e18afc8e4a0ac14968ede63df07a8f8f4/airflow/www/app.py#L72-L73
   https://github.com/sh4nks/flask-caching/blob/cb6a7a3d61057b07ebdc7a58359b41257fe0af93/flask_caching/__init__.py#L185-L195
   
   I also don't think this threat is quite real, as we don't store cache on the remote server (e.g. Redis/Memcache).  The attacker must have access to the local file system, which is already a much greater threat in most cases.


-- 
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:
users@infra.apache.org