What are the challenges in balancing national security and individual rights under laws like the National Security Act?

The revocation of Sonam Wangchuk's detention under NSA highlights the tension between security measures and civil liberties. I want to explore how authorities can ensure security without undermining fundamental rights.