A guide to combining transparency and data protection