Maintaining Security in Embedded Industrial Systems