Security and privacy issues in healthcare monitoring systems: a case study