countries can protect themselves from danger by permitting only registered visitors