Balancing people’s privacy rights with the need to prevent crime