Protected pointers to specify access privileges in distributed systems