Security for listQueries