I think protecting a country should primarily be the military’s job. Not that your typical European country has much of a military worth mentioning, of course—but if they had them and actually used them to defeat the jihadists and whomever else was attacking them, it wouldn’t be necessary to worry about stopping them at the borders.