作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2023, Vol. 49 ›› Issue (8): 37-45. doi: 10.19678/j.issn.1000-3428.0064936

• 热点与综述 • 上一篇    下一篇

联盟链高效存储访问控制方案

黄保华, 郑慧颖, 屈锡, 陈宁江   

  1. 广西大学 计算机与电子信息学院, 南宁 530004
  • 收稿日期:2022-06-09 出版日期:2023-08-15 发布日期:2023-02-06
  • 作者简介:

    黄保华(1973—),男,副教授、博士,主研方向为信息安全、区块链技术

    郑慧颖,硕士研究生

    屈锡,硕士研究生

    陈宁江,教授

  • 基金资助:
    国家自然科学基金(61962005)

Efficient Storage Access Control Scheme for Alliance Chain

Baohua HUANG, Huiying ZHENG, Xi QU, Ningjiang CHEN   

  1. School of Computer and Electronic Information, Guangxi University, Nanning 530004, China
  • Received:2022-06-09 Online:2023-08-15 Published:2023-02-06

摘要:

联盟链平台上的超级账本Hyperledger Fabric提供了通道机制对数据进行隔离保护,但通道内部节点可随意获取链上数据且存在管理中心化的问题,使得联盟链面临数据泄露、访问权限无法更新等安全问题。为了解决以上问题,提出基于密文-策略属性基加密算法的联盟链高效存储访问控制方案。针对访问策略及节点权限更新问题,创建数据链和属性集链,实现数据链上所有节点的属性更新,利用数据库进行访问策略更新并存储访问策略的历史修改记录。修改Hyperledger Fabric提供的Fabric-CA组件,提高节点属性私钥生成与分发过程中的安全性。设计星际文件系统的存储数据分块优化和数据请求协商机制,并使用SM4算法加密数据,实现数据的高效安全存储。测试结果表明,与TABE-DAC方案相比,该方案的访问控制和数据存储时间分别降低了100~200 ms和1~2 s,在保证较高安全性的同时具有更高的运行效率。

关键词: 联盟链, 属性基加密, 星际文件系统, 访问控制, SM4算法

Abstract:

The alliance chain platform Hyperledger Fabric provides a channel mechanism to isolate and protect data, but the nodes inside the channel can retrieve data on the chain at will and management is centralized, which means alliance chain faces security problems such as data leakage, confusion of node access rights, inability to update access rights, and centralization of data storage.To address the above issues, an efficient storage access control scheme for alliance chain based on Ciphertext-Policy Attribute-Based Encryption(CPABE) algorithm is proposed. To address the issue of updating access policies and node permissions, a data chain and attribute set chain are created to achieve attribute updates for all nodes on the data chain. A database is used to update access policies and store historical modification records of access policies.By modifying the Fabric-CA component provided by Hyperledger Fabric, the security of node attribute private key generation and distribution process is improved.In this scheme, the storage data partitioning optimization mechanism and data request negotiation mechanism of the Inter Planetary File System(IPFS)are designed, and the SM4 algorithm is used to encrypt the data, achieving efficient and secure storage of the data.The test results show that compared with the efficient Traceable Attribute-Based Encryption scheme with Dynamic Access Control based on blockchain(TABE-DAC) scheme, the access control and data storage time of this scheme are reduced by 100-200 ms and 1-2 s, respectively, ensuring greater security while maintaining higher operational efficiency.

Key words: alliance chain, Attribute-Based Encryption(ABE), Inter Planetary File System(IPFS), access control, SM4 algorithm