Protection of machinery and parts