Applying the principles of data protection