Legal and ethical considerations - Contract terms, data protection, and compliance