A fine-grained access control system for XML documents