The invention relates to a method for providing a metal surface with an anti-corrosion treatment. Said method is characterized in that the metal surface is brought into contact with a homo- or copolymer of vinylpyrrolidone. The invention also relates to a solution for application, containing a) 0.02 to 20 g/l phosphoric acid and/or at least one fluoro acid of one or more elements of the following group: Zr, Ti, Hf and Si; or their respective anions and b) 0.05 to 20 g/l of a homo or copolymer of vinylpyrrolidone. |