The thing is, there are already terrorists inside the countries, the guys on the outside, they abuse the women, make them fear for their lives, then order them to smuggle stuff in for their people inside. No matter how closely you watch, there are going to be methods of getting weapons, explosives and people inside.