arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.05710cs.CRcs.DB
收藏

DiCE——一种面向云的数据加密代理

DiCE -- A Data Encryption Proxy for the Cloud

Johannes Koppenwallner, Erich Schikuta

AI总结:

针对云外包数据库加密后丢失查询所需属性的问题,研究人员开发了支持多种加密算法的JDBC驱动DiCE,可透明加解密SQL查询,搭配Dice信息客户端实现操作追踪,且性能开销可被网络等因素大幅抵消。

摘要:

将关系型数据库外包至云端具备可扩展性、高可用性和成本效益等多重优势,但外包数据的机密性与安全性引发了担忧。通用解决方案是采用标准化加密算法对数据加密,仅将加密后的数据存储在云端,但该方法的问题在于,加密会丢失数据的排序、格式、可比性等关键属性,而这些属性是数据库查询正常运行的核心要素。针对这一问题的一种解决方案是使用(例如保序)加密算法,这类算法可在加密后的数据中保留上述属性,从而支持对加密数据的查询。此类算法涵盖从Caesar加密这类简单算法到mOPE这类安全算法的多种类型。为尽可能便捷地使用这些算法,研究人员开发了名为DiCE的JDBC(Java数据库连接)驱动程序,它以代理身份解析SQL查询,透明地完成查询的加密与解密,使得在云端加密数据库上执行多数查询的性能(几乎)与未加密数据库相当。DiCE驱动可与任意其他JDBC驱动搭配使用,因此支持多种数据库,且可通过配置支持不同的加密算法。为追踪操作过程,研究人员还开发了“Dice信息客户端”,用于监控该驱动的加密与解密行为。性能分析结果显示,尽管DiCE驱动中SQL查询的解析与加密会带来一定开销,但网络、并行查询等其他影响因素可大幅降低这一开销。

英文摘要:

Outsourcing a relational database to the cloud offers several benefits, including scalability, availability, and cost-effectiveness. However, there are concerns about the confidentiality and security of the outsourced data. A general approach here would be to encrypt the data with a standardized encryption algorithm and then store the data only encrypted in the cloud. The problem with this approach, however, is that with encryption, important properties of the data such as sorting, format or comparability, which are essential for the functioning of database queries, are lost. One solution to this problem is the use of (e.g. order-preserving) encryption algorithms, which also preserve these properties in the encrypted data, thus enabling queries to encrypted data. These algorithms range from simple algorithms like Caesar encryption to secure algorithms like mOPE. In order to be able to use these algorithms as easy as possible, ``DiCE'' a JDBC driver was developed, that parses SQL queries as a proxy and transparently encrypts and decrypts these queries. This allows to execute many queries on an encrypted database in the cloud with (nearly) the performance as on unencrypted databases. The DiCE driver can be used with any other JDBC driver and therefore supports a variety of databases. The driver can be configured to support different encryption algorithms. To keep track of the operations, the ``Dice Information Client'' has been developed to track the encryption and decryption of the driver. Although the result of the performance analysis shows a certain overhead due to the parsing and encryption of the SQL queries in the Dice driver, this overhead is significantly reduced by other influencing factors such as the network and parallel queries.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑