Cargando…

Exploiting Smart Contracts for Capability-Based Access Control in the Internet of Things †

Due to the rapid penetration of the Internet of Things (IoT) into human life, illegal access to IoT resources (e.g., data and actuators) has greatly threatened our safety. Access control, which specifies who (i.e., subjects) can access what resources (i.e., objects) under what conditions, has been r...

Descripción completa

Detalles Bibliográficos
Autores principales: Nakamura, Yuta, Zhang, Yuanyu, Sasabe, Masahiro, Kasahara, Shoji
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7146582/
https://www.ncbi.nlm.nih.gov/pubmed/32213888
http://dx.doi.org/10.3390/s20061793
_version_ 1783520234505764864
author Nakamura, Yuta
Zhang, Yuanyu
Sasabe, Masahiro
Kasahara, Shoji
author_facet Nakamura, Yuta
Zhang, Yuanyu
Sasabe, Masahiro
Kasahara, Shoji
author_sort Nakamura, Yuta
collection PubMed
description Due to the rapid penetration of the Internet of Things (IoT) into human life, illegal access to IoT resources (e.g., data and actuators) has greatly threatened our safety. Access control, which specifies who (i.e., subjects) can access what resources (i.e., objects) under what conditions, has been recognized as an effective solution to address this issue. To cope with the distributed and trust-less nature of IoT systems, we propose a decentralized and trustworthy Capability-Based Access Control (CapBAC) scheme by using the Ethereum smart contract technology. In this scheme, a smart contract is created for each object to store and manage the capability tokens (i.e., data structures recording granted access rights) assigned to the related subjects, and also to verify the ownership and validity of the tokens for access control. Different from previous schemes which manage the tokens in units of subjects, i.e., one token per subject, our scheme manages the tokens in units of access rights or actions, i.e., one token per action. Such novel management achieves more fine-grained and flexible capability delegation and also ensures the consistency between the delegation information and the information stored in the tokens. We implemented the proposed CapBAC scheme in a locally constructed Ethereum blockchain network to demonstrate its feasibility. In addition, we measured the monetary cost of our scheme in terms of gas consumption to compare our scheme with the existing Blockchain-Enabled Decentralized Capability-Based Access Control (BlendCAC) scheme proposed by other researchers. The experimental results show that the proposed scheme outperforms the BlendCAC scheme in terms of the flexibility, granularity, and consistency of capability delegation at almost the same monetary cost.
format Online
Article
Text
id pubmed-7146582
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-71465822020-04-20 Exploiting Smart Contracts for Capability-Based Access Control in the Internet of Things † Nakamura, Yuta Zhang, Yuanyu Sasabe, Masahiro Kasahara, Shoji Sensors (Basel) Article Due to the rapid penetration of the Internet of Things (IoT) into human life, illegal access to IoT resources (e.g., data and actuators) has greatly threatened our safety. Access control, which specifies who (i.e., subjects) can access what resources (i.e., objects) under what conditions, has been recognized as an effective solution to address this issue. To cope with the distributed and trust-less nature of IoT systems, we propose a decentralized and trustworthy Capability-Based Access Control (CapBAC) scheme by using the Ethereum smart contract technology. In this scheme, a smart contract is created for each object to store and manage the capability tokens (i.e., data structures recording granted access rights) assigned to the related subjects, and also to verify the ownership and validity of the tokens for access control. Different from previous schemes which manage the tokens in units of subjects, i.e., one token per subject, our scheme manages the tokens in units of access rights or actions, i.e., one token per action. Such novel management achieves more fine-grained and flexible capability delegation and also ensures the consistency between the delegation information and the information stored in the tokens. We implemented the proposed CapBAC scheme in a locally constructed Ethereum blockchain network to demonstrate its feasibility. In addition, we measured the monetary cost of our scheme in terms of gas consumption to compare our scheme with the existing Blockchain-Enabled Decentralized Capability-Based Access Control (BlendCAC) scheme proposed by other researchers. The experimental results show that the proposed scheme outperforms the BlendCAC scheme in terms of the flexibility, granularity, and consistency of capability delegation at almost the same monetary cost. MDPI 2020-03-24 /pmc/articles/PMC7146582/ /pubmed/32213888 http://dx.doi.org/10.3390/s20061793 Text en © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Nakamura, Yuta
Zhang, Yuanyu
Sasabe, Masahiro
Kasahara, Shoji
Exploiting Smart Contracts for Capability-Based Access Control in the Internet of Things †
title Exploiting Smart Contracts for Capability-Based Access Control in the Internet of Things †
title_full Exploiting Smart Contracts for Capability-Based Access Control in the Internet of Things †
title_fullStr Exploiting Smart Contracts for Capability-Based Access Control in the Internet of Things †
title_full_unstemmed Exploiting Smart Contracts for Capability-Based Access Control in the Internet of Things †
title_short Exploiting Smart Contracts for Capability-Based Access Control in the Internet of Things †
title_sort exploiting smart contracts for capability-based access control in the internet of things †
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7146582/
https://www.ncbi.nlm.nih.gov/pubmed/32213888
http://dx.doi.org/10.3390/s20061793
work_keys_str_mv AT nakamurayuta exploitingsmartcontractsforcapabilitybasedaccesscontrolintheinternetofthings
AT zhangyuanyu exploitingsmartcontractsforcapabilitybasedaccesscontrolintheinternetofthings
AT sasabemasahiro exploitingsmartcontractsforcapabilitybasedaccesscontrolintheinternetofthings
AT kasaharashoji exploitingsmartcontractsforcapabilitybasedaccesscontrolintheinternetofthings