Trying to limit acces to an attribute