ContexGuard: A Modular, Context-Aware Adaptive Security Framework for Dynamic Edge Environments
DOI:
https://doi.org/10.21015/vtse.v14i2.2356Abstract
In the era of Edge Computing and the growing presence of the Internet of Things (IoT), the traditional network perimeter has been broken, making static access control models, such as Role-Based Access Control (RBAC), inadequate. Edge deployments are very diverse, resource-constrained and have very dynamic environments, which requires adaptation to security in real-time. In order to tackle these problems, the paper introduces a modular, context-aware adaptive security framework, ContexGuard, specially tailored to dynamic edge environments. ContexGuard provides a plug-in architecture that separates context acquisition service logic from policy decision service logic, allowing for dynamic plug-in of new sensors, policies, and AI-based risk models at runtime, without disrupting services. Moreover, a lightweight resilient orchestration between distributed edge nodes is enabled by the framework, which is based on a native Message Queuing Telemetry Transport (MQTT) coordination mechanism. Realistic synthetic workloads and multi-node simulations are used to evaluate ContexGuard. The experimental results show fine-grained and context-aware authorization where the latency overhead per request is roughly 8.0ms and is linear up to 500 requests per second. The results show the effectiveness of ContexGuard to close the theory-to-practice gap between Zero Trust principles and resource-efficient, edge deployments.
References
[1] P. McEnroe, S. Wang, and M. Liyanage, "A survey on the convergence of edge computing and AI for UAVs: Opportunities and challenges," IEEE Internet of Things Journal, vol. 9, no. 17, pp. 15435–15459, 2022. doi: 10.1109/jiot.2022.3176400.
[2] L. Wei, Y. Yang, J. Wu, C. Long, and B. Li, "Trust management for internet of things: A comprehensive study," IEEE Internet of Things Journal, vol. 9, no. 10, pp. 7664–7679, 2022. doi: 10.1109/jiot.2021.3139989.
[3] K. Li et al., "Zero-trust foundation models: A new paradigm for secure and collaborative artificial intelligence for internet of things," IEEE Internet of Things Journal, 2025. doi: 10.1109/jiot.2025.3603957.
[4] B. V. S. Babu, K. S. Babu, and D. P. Kare, "Exploring attribute-based access control on blockchain: An in-depth survey," in AIP Conference Proceedings, vol. 3162, no. 1. AIP Publishing LLC, 2025, p. 020050. doi: 10.1063/5.0242371.
[5] F. Stodt, C. Reich, and F. Theoleyre, "Beyond static security: A context-aware and real-time dynamic zero trust architecture for IIoT access control," IEEE Internet of Things Journal, 2025. doi: 10.1109/jiot.2025.3579028.
[6] B. Gușită, A. A. Anton, C. S. Stângaciu, D. Stănescu, L. I. Găină, and M. V. Micea, "Securing IoT edge: A survey on lightweight cryptography, anonymous routing and communication protocol enhancements," International Journal of Information Security, vol. 24, no. 3, p. 149, 2025. doi: 10.1007/s10207-025-01071-7.
[7] A. Narayanan et al., "A modular architecture for smart device integration and adaptive access control in edge environments," IEEE Internet of Things Journal, vol. 12, no. 3, pp. 2410–2422, 2025.
[8] Y. Zhou and X. Chen, "Edge intelligence: Edge computing for 5G and the internet of things," Future Internet, vol. 17, no. 3, p. 101, 2025. doi: 10.3390/fi17030101.
[9] K. R. Ahmed, M. A. Hosien, S. T. Nesar, M. S. Khan, M. R. Karim, M. A. R. Chowdhury, and R. Bazan-Antequera, "AI-enhanced adaptive network security for 6G and edge computing," in 2025 International Conference on Quantum Photonics, Artificial Intelligence, and Networking (QPAIN). IEEE, 2025, pp. 1–6. doi: 10.1109/qpain66474.2025.11172162.
[10] N. Nahar, K. Andersson, O. Schelén, and S. Saguna, "A survey on zero trust architecture: Applications and challenges of 6G networks," IEEE Access, vol. 12, pp. 94753–94764, 2024. doi: 10.1109/access.2024.3425350.
[11] A. Iftikhar, F. B. Hussain, K. N. Qureshi, M. Shiraz, and M. Sookhak, "Securing edge based smart city networks with software defined networking and zero trust architecture," Journal of Network and Computer Applications, p. 104341, 2025. doi: 10.1016/j.jnca.2025.104341.
[12] A. K. Alnaim, "Adaptive zero trust policy management framework in 5G networks," Mathematics, vol. 13, no. 9, p. 1501, 2025. doi: 10.3390/math13091501.
[13] M. H. Hussain, A. Riaz, and A. Butt, "Integrating COBIT 2019 with zero trust architecture: A strategic approach to GRC in cybersecurity," VFAST Transactions on Software Engineering, vol. 13, no. 4, pp. 210–219, 2025.
[14] N. F. Syed, S. W. Shah, A. Shaghaghi, A. Anwar, Z. Baig, and R. Doss, "Zero trust architecture (ZTA): A comprehensive survey," IEEE Access, vol. 10, pp. 57143–57179, 2022. doi: 10.1109/access.2022.3174679.
[15] G. Fedrecheski, L. C. C. De Biase, P. C. Calcina-Ccori, R. de Deus Lopes, and M. K. Zuffo, "SmartABAC: Enabling constrained IoT devices to make complex policy-based access control decisions," IEEE Internet of Things Journal, vol. 9, no. 7, pp. 5040–5050, 2021. doi: 10.1109/jiot.2021.3110142.
[16] K. Ragothaman, Y. Wang, B. Rimal, and M. Lawrence, "Access control for IoT: A survey of existing research, dynamic policies and future directions," Sensors, vol. 23, no. 4, 2023. [Online]. Available: https://www.mdpi.com/1424-8220/23/4/1805
[17] H. Khalili, H.-J. Chien, A. Hass, and N. Sehatbakhsh, "Context-aware hybrid encoding for privacy-preserving computation in IoT devices," IEEE Internet of Things Journal, vol. 11, no. 1, pp. 1054–1064, 2023. doi: 10.1109/jiot.2023.3288523.
[18] U. V. Menon, V. B. Kumaravelu, C. V. Kumar, A. Rammohan, S. Chinnadurai, R. Venkatesan, H. Hai, and P. Selvaprabhu, "AI-powered IoT: A survey on integrating artificial intelligence with IoT for enhanced security, efficiency, and smart applications," IEEE Access, 2025. doi: 10.1109/access.2025.3551750.
[19] H. Shafique, A. A. Shah, M. A. Qureshi, M. K. Ehsan, and M. R. Amirzada, "Machine learning empowered efficient intrusion detection framework," VFAST Transactions on Software Engineering, vol. 10, no. 2, pp. 120–129, 2022.
[20] W. Jiang, Z. Lin, and J. Tao, "An access control scheme for distributed internet of things based on adaptive trust evaluation and blockchain," High-Confidence Computing, vol. 3, no. 1, p. 100104, 2023. doi: 10.1016/j.hcc.2023.100104.
[21] M. Merenda, C. Porcaro, and D. Iero, "Edge machine learning for AI-enabled IoT devices: A review," Sensors, vol. 20, no. 9, p. 2533, 2020. doi: 10.3390/s20092533.
[22] M. Ali, A. Raza, M. A. Akram, H. Arif, and A. Ali, "Enhancing IoT security: A review of machine learning-driven approaches to cyber threat detection," Journal of Informatics and Interactive Technology, vol. 2, no. 1, pp. 316–324, 2025. doi: 10.63547/jiite.v2i1.64.
[23] S. Rahman, Y. Wang, and B. Wei, "Trust at the edge: ABAC-secured federated learning for smart home access control using blockchain," IEEE Access, 2025. doi: 10.1109/access.2025.3618270.
[24] P. Abeysekara, H. Dong, and A. K. Qin, "Edge intelligence for real-time IoT service trust prediction," IEEE Transactions on Services Computing, vol. 16, no. 4, pp. 2606–2619, 2023. doi: 10.1109/tsc.2023.3241975.
[25] M. A. Sarwar, M. M. Saad, H. U. Rehman, and N. Umer, "IoT intrusion detection with deep learning techniques," VAWKUM Transactions on Computer Sciences, 2024.
[26] I. Khan, J. Khan, S. H. Bangash, W. Ahmad, A. I. Khan, and K. Hameed, "Intrusion detection using machine learning and deep learning models on cyber security attacks," VFAST Transactions on Software Engineering, vol. 12, no. 2, pp. 145–154, 2024.
[27] M. Debnath, S. Modak, and D. Sarkar, "Performance evaluation of application layer IoT protocols: MQTT and CoAP," in 2024 4th International Conference on Computer, Communication, Control & Information Technology (C3IT). IEEE, 2024, pp. 1–6. doi: 10.1109/c3it60531.2024.10829414.
[28] A. J. Hintaw, S. Manickam, M. F. Aboalmaaly, and S. Karuppayah, "MQTT vulnerabilities, attack vectors and solutions in the internet of things (IoT)," IETE Journal of Research, vol. 69, no. 6, pp. 3368–3397, 2023. doi: 10.1080/03772063.2021.1912651.
[29] T. Xue, Y. Zhang, Y. Wang, W. Wang, S. Li, and H. Zhang, "A comprehensive survey of access control in edge computing: Challenges, solutions, and future directions," IEEE Communications Surveys & Tutorials, vol. 26, no. 2, pp. 1120–1156, 2024.
[30] E. de Matos, E. Viegas, R. Tiburski, and F. Hessel, "Context-aware security in the internet of things: A review," in International Conference on Advanced Information Networking and Applications. Springer, 2023, pp. 518–531. doi: 10.1007/978-3-031-28694-0_49.
[31] O. Jarkas, R. Ko, N. Dong, and R. Mahmud, "A container security survey: Exploits, attacks, and defenses," ACM Computing Surveys, vol. 57, no. 7, pp. 1–36, 2025. doi: 10.1145/3715001.
[32] Q. Gong, J. Zhang, Z. Wei, X. Wang, X. Zhang, X. Yan, Y. Liu, and L. Dong, "SDACS: Blockchain-based secure and dynamic access control scheme for internet of things," Sensors, vol. 24, no. 7, p. 2267, 2024. doi: 10.3390/s24072267.
[33] M. Nakkar, R. AlTawy, and A. Youssef, "Lightweight authentication and key agreement protocol for edge computing applications," Ph.D. dissertation, Concordia University, 2021. doi: 10.1109/wf-iot51360.2021.9595939.
[34] M. W. Krakallah, S. Nait-Bahloul, and S. Bouzefrane, "Hybrid access control model for an IoT environment," in 2024 11th International Conference on Future Internet of Things and Cloud (FiCloud), 2024, pp. 268–273.
[35] X. Liu, C. Xu, H. Yu, and P. Zeng, "Deep reinforcement learning-based multichannel access for industrial wireless networks with dynamic multiuser priority," IEEE Transactions on Industrial Informatics, vol. 18, no. 10, pp. 7048–7058, 2022. doi: 10.1109/tii.2021.3139349.
Downloads
Published
How to Cite
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC-By) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
This work is licensed under a Creative Commons Attribution License CC BY