Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6353

security - ui - add click jacking defence

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.3
    • Fix Version/s: 2.0.0
    • Component/s: security, ui
    • Labels:
      None

      Description

      www/app.py Add Click jacking defence

       

      Fix:

      at the end of     

      def create_app(config=None, testing=False):

      @app.after_request
      def apply_caching(response):
      response.headers["X-Frame-Options"] = "DENY"
      return response

        Attachments

          Activity

            People

            • Assignee:
              toopt4 t oo
              Reporter:
              toopt4 t oo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: