An implantable medical device (IMD) includes communication circuitry that enables the IMD to communicate via a network such as the Internet. A security routine is executed on the IMD to determine whether the IMD is capable over communicating via the network. If so, the IMD requests an identifier of current firmware stored on a server that is connected to the communication network. The identifier of the current firmware is compared to an identifier of firmware that is installed on the IMD. If the installed firmware is the same as the current firmware on the server, a timer is reset, but if the installed firmware cannot be verified as matching the current firmware on the server (e.g., because the IMD is not capable of communicating via the network), the timer continues to run. When the timer expires, the IMD is prevented from communicating via the network until further action is taken.L'invention concerne un dispositif médical implantable (DMI) comprenant des circuits de communication qui permettent au DMI de communiquer par l'intermédiaire d'un réseau tel qu'Internet. Une routine de sécurité est exécutée sur le DMI en vue de déterminer si le DMI est susceptible de communiquer par l'intermédiaire du réseau. Si tel est le cas, le DMI demande un identifiant de micrologiciel en cours mémorisé sur un serveur qui est connecté au réseau de communication. L'identifiant du micrologiciel en cours est comparé à un identifiant de micrologiciel qui est installé sur le DMI. Si le micrologiciel installé est le même que le micrologiciel en cours sur le serveur, un temporisateur est réinitialisé, mais s'il n'est pas possible de vérifier que le micrologiciel installé correspond au micrologiciel en cours sur le serveur (par exemple, parce que le DMI n'est pas susceptible de communiquer par l'intermédiaire du réseau), le temporisateur continue à fonctionner. Lorsque le temporisateur expire, le DMI ne peut plus communiquer par l'intermédiaire du réseau jusqu'à ce qu'une autre action soit