Preventing user accessing books that do not belong to himself