Robust security for systems using OPC