Describe a time when you had to balance performance and security in a system design for a healthcare or clinical platform.