The present invention relates to a method for inhibiting the growth of bacteria of the genus Legionella, comprising the use of at least one lipopeptide and/or one rhamnolipid produced by bacteria of the genus Pseudomonas. The present application also provides methods for treatment of water.