IoT security margin of error