Security in Critical Infrastructures and Industry 4.0