Medical care data are huge with rich information and the records are increased within hours. Managing this heavy load of database with confidence and integrity is a major concern. In this study encryption and Convolution Neural Network has merged to give high security for accessing the patient data for medication. The finger prints along with the face recognition of the authorized and authenticated doctors enhance the degree of security for the healthcare data. The cybersecurity awareness should be given to all the employees on a monthly basis and to train the newly joined staff. Regular backups and preserving the encrypted data are other concern to cope with ransomware attack.