private void validateConnectionUrl(String url) {
    if (containsIgnoreCase(url, ALLOW_LOAD_LOCAL_IN_FILE_NAME) ||
        containsIgnoreCase(url, AUTO_DESERIALIZE) ||
        containsIgnoreCase(url, ALLOW_LOCAL_IN_FILE_NAME) ||
        containsIgnoreCase(url, ALLOW_URL_IN_LOCAL_IN_FILE_NAME)) {
      throw new IllegalArgumentException("Connection URL contains sensitive configuration");
    }
  }
@Test
  void testValidateConnectionUrl() throws IOException, InterpreterException {
    Properties properties = new Properties();
    properties.setProperty("default.driver", "org.h2.Driver");
    properties.setProperty("default.url", getJdbcConnection() + ";allowLoadLocalInfile=true");
    properties.setProperty("default.user", "");
    properties.setProperty("default.password", "");
    JDBCInterpreter jdbcInterpreter = new JDBCInterpreter(properties);
    jdbcInterpreter.open();
    InterpreterResult interpreterResult = jdbcInterpreter.interpret("SELECT 1", context);
    assertEquals(InterpreterResult.Code.ERROR, interpreterResult.code());
    assertEquals("Connection URL contains improper configuration",
            interpreterResult.message().get(0).getData());
  }