Securing the Migration to Industry 4.0