It is important to know your rights if you have been affected by a data breach and how you can claim compensation for any distress it has caused.