Balancing tensions between privacy and national security