[Paper Review] A General Approach for Securely Querying and Updating XML Data
This paper presents a general access control model for securely querying and updating XML data using query rewriting, ensuring confidentiality and integrity in the presence of both read and update privileges. It introduces a two-step rewriting process that accounts for recursive DTDs and security views, preventing inference attacks from update operations over masked data.
Over the past years several works have proposed access control models for XML data where only read-access rights over non-recursive DTDs are considered. A few amount of works have studied the access rights for updates. In this paper, we present a general model for specifying access control on XML data in the presence of update operations of W3C XQuery Update Facility. Our approach for enforcing such updates specifications is based on the notion of query rewriting where each update operation defined over arbitrary DTD (recursive or not) is rewritten to a safe one in order to be evaluated only over XML data which can be updated by the user. We investigate in the second part of this report the secure of XML updating in the presence of read-access rights specified by a security views. For an XML document, a security view represents for each class of users all and only the parts of the document these users are able to see. We show that an update operation defined over a security view can cause disclosure of sensitive data hidden by this view if it is not thoroughly rewritten with respect to both read and update access rights. Finally, we propose a security view based approach for securely updating XML in order to preserve the confidentiality and integrity of XML data.
Motivation & Objective
- To address the lack of comprehensive access control models that support both read and update operations on XML data.
- To provide a unified framework for specifying update policies over arbitrary DTDs, including recursive ones.
- To prevent inference attacks where update operations could disclose sensitive data hidden by security views.
- To ensure that update operations are only applied to nodes that are both accessible and updatable by the user.
- To extend existing security view models to support secure update operations while preserving data confidentiality and integrity.
Proposed method
- The approach uses a two-phase query rewriting technique: first rewriting the target XPath expression according to user read privileges, then rewriting it again based on update privileges.
- A rewriting algorithm, 'Rewrite', is introduced to transform update operations into safe forms that only target accessible nodes, using access control annotations (A^acc) and update privilege annotations (U_delete, etc.).
- The method handles recursive DTDs by propagating access control constraints through the XML tree structure, ensuring correct scope propagation during rewriting.
- Security views are used to model user-specific data visibility, and the system ensures that update operations over these views do not lead to unintended disclosure of hidden data.
- The approach integrates with the W3C XQuery Update Facility, supporting operations like insert, delete, and replace on XML nodes.
- The rewriting process includes predicate rewriting (RW_Pred) to ensure that conditions in update operations do not inadvertently access or infer sensitive data.
Experimental results
Research questions
- RQ1How can update access control be uniformly modeled for arbitrary DTDs, including recursive ones, in XML data?
- RQ2What mechanisms can prevent inference attacks when update operations are performed over security views that hide sensitive data?
- RQ3How can query rewriting be used to enforce both read and update access control simultaneously?
- RQ4What are the necessary conditions to ensure that an update operation does not disclose information about nodes that are not visible to the user?
- RQ5How can the security of update operations be preserved when both read and update privileges are defined over complex, possibly recursive, XML structures?
Key findings
- The proposed model successfully prevents inference attacks by rewriting update operations to target only nodes that are both readable and updatable by the user, eliminating indirect disclosure of hidden data.
- The rewriting algorithm ensures that predicates in update operations are transformed to respect access control annotations, so that conditions like 'not (exists(...))' do not leak information about inaccessible nodes.
- For the hospital example, the rewritten update operation over a security view had no effect on the original document when the target patient was not visible, thus preventing inference about the patient's existence or data.
- The method supports secure updates over recursive DTDs by propagating access control constraints through the tree structure, maintaining correctness even in complex hierarchies.
- The approach is the first to provide a unified solution for both read and update access control over arbitrary DTDs and recursive security views, ensuring confidentiality and integrity.
- The evaluation shows that without proper rewriting, update operations over security views can lead to information disclosure, but with rewriting, such leaks are fully mitigated.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.