The management and sharing of research data creates questions of data ownership, data protection and ethical approval. It is advisable to address these questions before the project starts, and to make sure that all parties are in agreement.
Funders will expect your data management plan to demonstrate that you have considered these issues.
"The legitimate interests of the subjects of research data, and future historical interests, must be protected, e.g. in accordance with data protection laws, research ethics, human rights and duty of confidence."