arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1801.01618cs.DBcs.CR
收藏

使用可信执行环境实现强大的数据库完整性

Enabling Strong Database Integrity using Trusted Execution Environments

Kai Mast, Lequn Chen, Emin Gün Sirer

摘要:

许多应用程序需要跨组织边界的不可变和一致的数据共享。由于传统的数据存储无法提供此功能,因此区块链已被提议作为一种可能的解决方案。然而,公共区块链的能源效率低下,难以扩展,并且吞吐量有限和高延迟,而许可区块链依赖于专门指定的节点,可能会泄露元信息,并且还存在规模和性能瓶颈。本文介绍了CreDB,这是一种使用可信执行环境提供类似区块链的完整性保证的区块链。CreDB采用了四种新的机制来支持一类新的应用程序。首先,它为每个交易创建一个永久记录,称为见证人,客户不仅可以使用它来审计数据库,还可以向第三方证明所需的操作已经发生。第二,它将每个对象关联到一个不可分割和不可侵犯的策略,该策略不仅执行访问控制,而且还使EJB能够实现其行为易于分析的状态机。第三,时间轴检查允许授权方检查和推理对数据所做的更改的历史。最后,CreDB提供了一种受保护的函数求值机制,允许在私有数据上进行完整性保护计算。本文详细描述了这些机制以及它们共同支持的应用程序。我们已经在英特尔SGX上完全实现了CreDB原型。评估表明,CreDB可以作为其他NoSQL存储的替代品,如MongoDB,同时提供更强的完整性保证。

英文摘要:

Many applications require the immutable and consistent sharing of data across organizational boundaries. Because conventional datastores cannot provide this functionality, blockchains have been proposed as one possible solution. Yet public blockchains are energy inefficient, hard to scale and suffer from limited throughput and high latencies, while permissioned blockchains depend on specially designated nodes, potentially leak meta-information, and also suffer from scale and performance bottlenecks. This paper presents CreDB, a datastore that provides blockchain-like guarantees of integrity using trusted execution environments. CreDB employs four novel mechanisms to support a new class of applications. First, it creates a permanent record of every transaction, known as a witness, that clients can then use not only to audit the database but to prove to third parties that desired actions took place. Second, it associates with every object an inseparable and inviolable policy, which not only performs access control but enables the datastore to implement state machines whose behavior is amenable to analysis. Third, timeline inspection allows authorized parties to inspect and reason about the history of changes made to the data. Finally, CreDB provides a protected function evaluation mechanism that allows integrity-protected computation over private data. The paper describes these mechanisms, and the applications they collectively enable, in detail. We have fully implemented a prototype of CreDB on Intel SGX. Evaluation shows that CreDB can serve as a drop-in replacement for other NoSQL stores, such as MongoDB while providing stronger integrity guarantees.

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

↑