allow arrays of allowed hosts in database resource