potiuk commented on PR #40775:
URL: https://github.com/apache/airflow/pull/40775#issuecomment-2236811267

   This is quite a bad idea from the security point of view - we should not 
give the UI user effectively a way to install and run arbitrary code by adding 
those or that dependencies. In our security model - while "Connection Editing 
User" should be fully trusted, except some obscure edge cases like JDBC Driver 
parameters etc, the user who has access to the UI should not be able to impact 
the code that is executed on the worker - as easily as is proposed here. That's 
why passing - requirements  from the UI is a "non-go".
   
   See 
https://airflow.apache.org/docs/apache-airflow/stable/security/security_model.html
   
   I wonder what others think about it - maybe they can chime-in, but I think 
while convenient, it's dangerous to allow this  


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to