France closing its borders will not prevent terrorist attacks;rather, recognizing that their sovereignty is not supposed to extend beyond their borders, would do far more to remove them from the hit list of terrorist organizations.
It may well be true that their acceptance of refugees makes it slightly easier for terrorist groups to enter Europe; but this is coincidental. The question Europeans’s should be asking is “why would they want to?”