Protecting Confidentiality, Privacy and Integrity in Collaborative Learning