Protect expanding smart cities from cyberthreats with cloud to flash