Restricting acces using host attribute