Abstract
The traditional Industrial Internet-of-Things (IIoT) ecosystem utilizes the Trusted Third Party (TTP) to store sensitive data, and TTP acts as a middleware for device authentication. Therefore, maintaining data privacy is one of the main challenges and research issues due to third-party involvement. Moreover, several known challenges such as Single-Point-of-Failure (SPoF), trust issues, centralized systems, and security vulnerabilities exist in the IIoT ecosystem. Blockchain is one of the solutions to address above mentioned challenges. This article proposes a fully decentralized system (without TTP) based on the ethereum smart contracts and Interplanetary File System (IPFS) for IIoT. Moreover, we propose a device authentication mechanism by utilizing smart contracts and storing the data in a distributed manner using IPFS. This work also provides data accessing policies for the end-users. The proposed contract is implemented in both JavaScript VM and ropsten test networks. It provides an in-depth analysis of the smart contract while simulating the contract in local and global environments. Moreover, the various costs involved in proposing the protocol are also calculated and compared to current studies. The informal investigation demonstrates that the solutions are secure and meet critical security criteria.
Similar content being viewed by others
References
Alladi T, Chamola V, Parizi RM, Choo KKR (2019) Blockchain applications for industry 4.0 and industrial IoT: a review. IEEE Access 7:176935–176951
Aheleroff S, Xu X, Lu Y, Aristizabal M, Velásquez JP, Joa B, Valencia Y (2020) IoT-enabled smart appliances under industry 4.0: a case study. Adv Eng Inform 43:101043
Gupta R, Tanwar S, Kumar N, Tyagi S (2020) Blockchain-based security attack resilience schemes for autonomous vehicles in industry 4.0: a systematic review. Comput Electr Eng 86:106717
Jeyanthi PM (2018) Industry 4. o: the combination of the internet of things (IoT) and the internet of people (IoP). J Contemp Res Manag 13(4)
DaXu L, Lu Y, Li L (2021) Embedding blockchain technology into IoT for security: a survey. IEEE Internet of Things J
Khan MA, Salah K (2018) IoT security: review, blockchain solutions, and open challenges. Futur Gener Comput Syst 82:395–411
Reyna A, Martín C, Chen J, Soler E, Díaz M (2018) On blockchain and its integration with IoT. Challenges and opportunities. Futur Gener Comput Syst 88:173–190
Nakamoto S (2019) Bitcoin: a peer-to-peer electronic cash system. Technical report, Manubot
Dwivedi SK, Amin R, Vollala S, Chaudhry R (2020) Blockchain-based secured event-information sharing protocol in internet of vehicles for smart cities. Comput Electr Eng 86:106719
Huang J, He D, Obaidat MS, Vijayakumar P, Luo M, Choo K-KR (2021) The application of the blockchain technology in voting systems: a review. ACM Comput Surv (CSUR) 54(3):1–28
Dwivedi SK, Amin R, Vollala S (2021) Blockchain-based secured IPFS-enable event storage technique with authentication protocol in Vanet. EEE/CAA J Autom Sinica
Lin C, He D, Huang X, Khan MK, Choo K-KR (2020) DCAP: a secure and efficient decentralized conditional anonymous payment system based on blockchain. IEEE Trans Inf Forensics Secur 15:2440–2452
Soltanisehat L, Alizadeh R, Hao H, Choo K-KR (2020) Technical, temporal, and spatial research challenges and opportunities in blockchain-based healthcare: a systematic literature review. IEEE Trans Eng Manag
Jangirala S, Das AK, Vasilakos AV (2019) Designing secure lightweight blockchain-enabled RFID-based authentication protocol for supply chains in 5G mobile edge computing environment. IEEE Trans Industr Inf 16(11):7081–7093
Dwivedi SK, Amin R, Vollala S (2020) Blockchain based secured information sharing protocol in supply chain management system with key distribution mechanism. J Inf Secur Appl 54:102554
Vangala A, Bera B, Saha S, Das AK, Kumar N, Park YH (2020) Blockchain-enabled certificate-based authentication for vehicle accident detection and notification in intelligent transportation systems. IEEE Sensors J
Lin C, He D, Huang X, Kumar N, Choo K-KR (2020) BCPPA: A blockchain-based conditional privacy-preserving authentication protocol for vehicular ad hoc networks. IEEE Trans Intell Transp Syst
Banerjee S, Bera B, Das AK, Chattopadhyay S, Khan MK, Rodrigues JJ (2021) Private blockchain-envisioned multi-authority CP-ABE-based user access control scheme in IIoT. Comput Commun 169:99–113
Dwivedi SK, Roy P, Karda C, Agrawal S, Amin R (2021) Blockchain-based internet of things and industrial IoT: a comprehensive survey. Security and Communication Networks 2021
Suliman A, Husain Z, Abououf M, Alblooshi M, Salah K (2018) Monetization of iot data using smart contracts. IET Networks 8(1):32–37
Bai L, Hu M, Liu M, Wang J (2019) BPIIoT: a light-weighted blockchain-based platform for industrial IoT. IEEE Access 7:58381–58393
Arachchige P, Bertok P, Khalil I, Liu D, Camtepe S, Atiquzzaman M (2020) A trustworthy privacy preserving framework for machine learning in industrial IoT systems. IEEE Trans Industr Inf 16(9):6092–6102
Wen Q, Gao Y, Chen Z, Wu D (2019) A blockchain-based data sharing scheme in the supply chain by IIoT. In: 2019 IEEE International Conference on Industrial Cyber Physical Systems (ICPS). IEEE, pp 695–700
Curbera F, Dias D, Simonyan V, Yoon W, Casella A (2019) Blockchain: an enabler for healthcare and life sciences transformation. IBM J Res Dev 63(2/3):8–1
Lombardi F, Aniello L, DeAngelis S, Margheri A, Sassone V (2018) A blockchain-based infrastructure for reliable and cost-effective IoT-aided smart grids
Xu Y, Ren J, Wang G, Zhang C, Yang J, Zhang Y (2019) A blockchain-based nonrepudiation network computing service scheme for industrial IoT. IEEE Trans Industr Inf 15(6):3632–3641
Xu R, Chen Y, Blasch E, Chen G (2018) Blendcac: a blockchain-enabled decentralized capability-based access control for IoTs. In: 2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData). IEEE, pp 1027–1034
Ren Y, Liu Y, Ji S, Sangaiah AK, Wang J (2018) Incentive mechanism of data storage based on blockchain for wireless sensor networks. Mob Inf Syst 2018
Zhang Y, Kasahara S, Shen Y, Jiang X, Wan J (2018) Smart contract-based access control for the internet of things. IEEE Internet Things J 6(2):1594–1605
Goyat R, Kumar G, Saha R, Conti M, Rai MK, Thomas R, Alazab M, Hoon-Kim T (2020) Blockchain-based data storage with privacy and authentication in internet-of-things. IEEE Internet Things J
Hanada Y, Hsiao L, Levis P (2018) Smart contracts for machine-to-machine communication: possibilities and limitations. In: 2018 IEEE International Conference on Internet of Things and Intelligence System (IOTAIS). IEEE, pp 130–136
Pan J, Wang J, Hester A, Alqerm I, Liu Y, Zhao Y (2018) Edgechain: an edge-IoT framework and prototype based on blockchain and smart contracts. IEEE Internet Things J 6(3):4719–4732
Ali S, Wang G, Bhuiyan M, Jiang H (2018) Secure data provenance in cloud-centric internet of things via blockchain smart contracts. In: 2018 IEEE SmartWorld, Ubiquitous Intelligence & Computing, Advanced & Trusted Computing, Scalable Computing & Communications, Cloud & Big Data Computing, Internet of People and Smart City Innovation (SmartWorld/SCALCOM/UIC/ATC/CBDCom/IOP/SCI). IEEE, pp 991–998
Bahga A, Madisetti VK (2016) Blockchain platform for industrial internet of things. J Softw Eng Appl 9(10):533–546
Huh S, Cho S, Kim S (2017) Managing IoT devices using blockchain platform. In: 2017 19th International Conference on Advanced Communication Technology (ICACT). IEEE, pp 464–467
Amin R, Kunal S, Saha A, Das D, Alamri A (2020) CFSEC: Password based secure communication protocol in cloud-fog environment. J Parallel Distrib Comput 140:52–62
Bera B, Saha S, Das AK, Kumar N, Lorenz P, Alazab M (2020) Blockchain-envisioned secure data delivery and collection scheme for 5g-based IoT-enabled internet of drones environment. IEEE Trans Veh Technol 69(8):9097–9111
Singh J, Gimekar A, Venkatesan S (2019) An efficient lightweight authentication scheme for human-centered industrial internet of things. Int J Commun Syst 4189
Abdi Nasib Far H, Bayat M, Kumar Das A, Fotouhi M, Pournaghi SM, Doostari M-A (2021) Laptas: lightweight anonymous privacy-preserving three-factor authentication scheme for WSN-based IIoT. Wirel Netw 27(2):1389–1412
Kumar R, Tripathi R (2021) DBTP2SF: a deep blockchain-based trustworthy privacy-preserving secured framework in industrial internet of things systems. Trans Emerg Telecommun Technol 32(4):4222
Khalid U, Asim M, Baker T, Hung PC, Tariq MA, Rafferty L (2020) A decentralized lightweight blockchain-based authentication mechanism for IoT systems. Clust Comput 1–21
Lin Y, Li J, Kimura S, Yang Y, Ji Y, Cao Y (2021) Consortium blockchain based public integrity verification in cloud storage for IoT. IEEE Internet Things J
Yang J, He S, Xu Y, Chen L, Ren J (2019) A trusted routing scheme using blockchain and reinforcement learning for wireless sensor networks. Sensors 19(4):970
Liu S, Yu J, **ao Y, Wan Z, Wang S, Yan B (2020) BC-SABE: blockchain-aided searchable attribute-based encryption for cloud-IoT. IEEE Internet Things J 7(9):7851–7867
Srinivas J, Das AK, Kumar N, Rodrigues JJ (2018) Cloud centric authentication for wearable healthcare monitoring system. IEEE Trans Dependable Secure Comput 17(5):942–956
He D, Zeadally S, Xu B, Huang X (2015) An efficient identity-based conditional privacy-preserving authentication scheme for vehicular ad hoc networks. IEEE Trans Inf Forensics Secur 10(12):2681–2691
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflicts of interest
The authors declare that they do not have any commercial or associative interest that represents a conflict of interest in connection with the work submitted.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Dwivedi, S.K., Amin, R. & Vollala, S. Smart contract and IPFS-based trustworthy secure data storage and device authentication scheme in fog computing environment. Peer-to-Peer Netw. Appl. 16, 1–21 (2023). https://doi.org/10.1007/s12083-022-01376-7
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12083-022-01376-7