A medical device for providing information for glycemic control is provided, wherein the device comprises storage means arranged to store data, receiving means arranged to receive blood glucose value data and security data, data processing means arranged to execute a first processing function for modifying data retrieved from the storage means and to execute a second processing function for providing information for glycemic control based on the blood glucose value data and data retrieved from the storage means, validating means arranged to validate the received security data and to provide validation data corresponding to the validation of the received security data, and safety means arranged to control an execution of at least a predetermined function out of the first and second processing functions based on the validation data.