data access for resource