Canada is in a better position than France with regard to terrorist attacks.
France is in a constant state of emergency. The country has very repressive laws that do not seem to work. I am speaking here as a member of the general public, who has no expertise in this regard. However, when one looks at the situation from the outside, France seems heavily involved in repressive action, and yet it doesn't seem to work. The United States is doing the same thing, and it doesn't seem to work. Yet when you look at other countries, like the Scandinavian countries, there seems to be less repression and less terrorism.