With the recent waves of terror attacks all over the world and the resulting government inquiries, changes in policy and increased security measures, a lot of discussion is being held about to what extent a government may or may not impede on the rights of the public in order to protect that same public.
How much privacy could civilians have in their personal communications? May civilians be permitted to have secrets even the government cannot uncover? Is the possession of military-grade or military-derived weapons by the public acceptable? These are all questions that come up from time to time when faced with adversity from terrorism.
Many countries have been targeted by these attacks. In recent months, France, Belgium, the USA and many countries in Africa, the Middle East and East Asia have been the target of terrorist attacks. All of them have either implemented new measures or talked about implementing them, some of them with good results, others not so much. The question is whether it's possible for a government prevent all terror attacks without infringing on the human rights that many of us have come to enjoy.
There are a lot of people that are thinking about this matter, and it appears to be a valid subject matter for this site. It may not be based around a fictional world, but I feel like it's something that can be relevant for fictional worlds facing similar terrorism struggles.
Can a government prevent all terror attacks without infringing on basic human rights (let's assume the Universal Declaration of Human Rights as a baseline)? If not, can the government take steps to reduce the chance of these attacks or the impacts they cause?