Balancing security and privacy considerations