1. A method, comprising: retrieving, by a server, a configuration file sent via a network from a device; comparing, by the server, the configuration file to a compliance policy for operating the device; determining, by the server, that the configuration file fails the compliance policy; retrieving, by the server, a compliant configuration file that conforms to the compliance policy; and sending, by the server, the compliant configuration file via the network to the device with an instruction to replace the configuration file with the compliant configuration file that conforms to the compliance policy.