递归XML视图的安全查询:一种基于XPath的标准技术
Secure Querying of Recursive XML Views: A Standard XPath-based Technique
摘要:
大多数保护XML文档安全的最先进方法都允许用户仅通过授权视图访问数据,这些授权视图是通过使用XML表达式集合注释XML语法(例如DTD)来定义的。为了防止机密信息的不当泄露,用户对这些视图的查询需要重写为对底层文档的等价查询。这种重写使我们能够避免视图物化和维护的开销。这里的一个主要问题是,递归XML视图的查询重写仍然是一个悬而未决的问题。为了克服这个问题,已经提出了一些工作来将非标准查询转换为非标准查询,称为正则非标准查询。然而,在正则表达式下的查询重写可能是指数级的,因为它依赖于自动机模型。最重要的是,定期检查仍然是一项理论成就。实际上,由于没有翻译和评价工具,这种方法在实践中并不常用。在本文中,我们表明,查询重写总是可能的递归XML视图只使用的表达能力的标准XML。我们调查的向下类的扩展,只由孩子和后代轴,与一些轴和运营商,我们提出了一个通用的方法来重写查询递归XML视图。与常规的基于XPath的作品,我们提供了一个重写算法,处理查询只在注释的DTD语法,可以在线性时间内运行的查询的大小。实验结果表明,该算法是有效的,规模以及。
英文摘要:
Most state-of-the art approaches for securing XML documents allow users to access data only through authorized views defined by annotating an XML grammar (e.g. DTD) with a collection of XPath expressions. To prevent improper disclosure of confidential information, user queries posed on these views need to be rewritten into equivalent queries on the underlying documents. This rewriting enables us to avoid the overhead of view materialization and maintenance. A major concern here is that query rewriting for recursive XML views is still an open problem. To overcome this problem, some works have been proposed to translate XPath queries into non-standard ones, called Regular XPath queries. However, query rewriting under Regular XPath can be of exponential size as it relies on automaton model. Most importantly, Regular XPath remains a theoretical achievement. Indeed, it is not commonly used in practice as translation and evaluation tools are not available. In this paper, we show that query rewriting is always possible for recursive XML views using only the expressive power of the standard XPath. We investigate the extension of the downward class of XPath, composed only by child and descendant axes, with some axes and operators and we propose a general approach to rewrite queries under recursive XML views. Unlike Regular XPath-based works, we provide a rewriting algorithm which processes the query only over the annotated DTD grammar and which can run in linear time in the size of the query. An experimental evaluation demonstrates that our algorithm is efficient and scales well.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。