Only allow certain networks.