IoT security construction