Private and protected trees