Method for providing controlled access to an XML document includes
defining at least one access control policy for a user of the XML
document, deriving a security view of the XML document for the user based
upon said access control policy and schema level processing of the XML
document and translating a user query based on the security view of the
XML document to an equivalent query based on the XML document. An
apparatus for same includes means for defining an access control policy
for a user of the XML document and means for deriving a security view of
the XML document for the user based on said access control policy and
schema level processing of the XML document. Also included are means for
translating a user query based on the security view of the XML document
to an equivalent query based on the XML document.