Make it possible to restrict access to the REST API based on IP