secure getAttribute and getMany