Cross-Site request forgery protection

CSRF protection is disabled by default. You can enable or disable CSRF protection as follows:

  • To enable CSRF protection, enter ecconfigure --webCsrfProtection=true. Examples using the default directory:

    • For Linux, enter

      /opt/electriccloud/electriccommander//bin/ecconfigure --webCsrfProtection=true
    • For Windows, enter

      C:\Program Files\Electric Cloud\ElectricCommander\bin>ecconfigure --webCsrfProtection=true
  • To disable CSRF protection, enter ecconfigure --webCsrfProtection=false. Examples using the default directory:

    • For Linux, enter

      /opt/electriccloud/electriccommander//bin/ecconfigure --webCsrfProtection=false
    • For Windows, enter

      C:\Program Files\Electric Cloud\ElectricCommander\bin>ecconfigure --webCsrfProtection=false