AI-Powered File Security System with Facial Biometrics, QR Code, and OTP Verification
Main Article Content
Abstract
Commonly used file-sharing systems suffer from impermissible security risks such as impersonation, credential theft, and QR code exploitation, which can expose sensitive information. This paper describes and evaluates an AI-driven secure file-sharing system designed to alleviate these risks through a multi-layered authentication strategy. The complete system involves AES-128 encryption, unique QR code referencing, live facial recognition, and One-Time Password (OTP) confirmation. In our proposed workflow, the sender encrypts a reference to the file and links it to facial data of the recipient, if applicable, and embeds this information into a QR code, that is dynamically generated during the send operation. To gain access to the file, the user must scan the QR code, undergo live biometric access verification, and subsequently enter an OTP sent to their email address. Experimental results give confidence in the high level of efficacy and robustness of the system: The facial recognition component achieved 99.0% facial recognition accuracy under optimal conditions and achieved 100% rejection against static image spoofing attacks. The average end-to-end server-side latency was about 3.25 seconds, confirming the system would be viable for file sharing. This method combines strong encryption with two-factor identity verification to guarantee confidentiality, mitigate the use of reusable tokens, and provide a secure way to share sensitive documents across a range of sectors, such as healthcare, education, and legal services. The next iteration will be enhanced with liveness detection, dynamic QR codes, and an app to facilitate the entire process of verification, tokenization, and share sensitive documents.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
All articles published in JIWE are licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License. Readers are allowed to
- Share — copy and redistribute the material in any medium or format under the following conditions:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use;
- NonCommercial — You may not use the material for commercial purposes;
- NoDerivatives — If you remix, transform, or build upon the material, you may not distribute the modified material.
References
P. Pandey, J.P. Kumar, A.K. Agariya, “Comparison between Fingerprint-Based Biometric Recognition Systems and QR Code-Based Authentication Systems: Challenges, Solutions, and Applications,” 2021 IEEE Bombay Section Signature Conference (IBSSC), 2021, pp. 1–6, doi: 10.1109/IBSSC53889.2021.9673273.
A.Y. Chaudhari, J. Kulkarni, U. Dube, A. Ghorpade, S. Sakore, A.K Gupta, “A Biometric Authentication System By Embedding Biometrics in QR Codes,” 2024 IEEE International Conference on Blockchain and Distributed Systems Security (ICBDS), 2024, pp. 1–6. IEEE Xplore, doi:10.1109/ICBDS61829.2024.10837214.
A.K. Sirivarshitha, K. Sravani, K.S. Priya, V. Bhavani, “An Approach for Face Detection and Face Recognition Using OpenCV and Face Recognition Libraries in Python,” 2023 9th International Conference on Advanced Computing and Communication Systems (ICACCS), vol. 1, 2023, pp. 1274–78. IEEE Xplore, doi: 10.1109/ICACCS57279.2023.10113066.
D.E. Sintyaningrum, M. Ashar, “The Encryption of Electronic Professional Certificate by Using Digital Signature and QR Code,” 2021 International Conference on Converging Technology in Electrical and Information Engineering (ICCTEIE), 2021, pp. 19–24. IEEE Xplore, doi: 10.1109/ICCTEIE54047.2021.9650641.
G.S. Semmathi, D. Krishnan, G. Muthupandi, “A Web-Based System for QR Code Flag Identification and DecodingWith Python and Flask,” 2025 International Conference on Emerging Smart Computing and Informatics (ESCI), 2025, pp. 1–6. IEEE Xplore, doi: 10.1109/ESCI63694.2025.10988113.
H. Nainwal, K.V. Shaileshbhai, “An Approach for Face Detection and Face Recognition Using OpenCV and Face Recognition Libraries in Python Using GPU,” 2024 8th International Conference on Computational System and Information Technology for Sustainable Solutions (CSITSS), 2024, pp. 1–6. IEEE Xplore, doi: 10.1109/CSITSS64042.2024.10817060.
S. Sankhe, P. Malhotra, A.A. Siddiqui, A.R. Shaikh, R. Mulla, J. Khan, “A Blockchain Based Solution to Manage Vehicle Documents Using QR-Code,” 2023 6th International Conference on Advances in Science and Technology (ICAST), 2023, pp. 7–12. IEEE Xplore, doi: 10.1109/ICAST59062.2023.10454935.
R. Wang, L. Huang, K. Madden, C. Wang, “Enhancing QR Code System Security by Verifying the Scanner’s Gripping Hand Biometric,” Proceedings of the 17th ACM Conference on Security and Privacy in Wireless and Mobile Networks, 2024, pp. 42–53. doi: 10.1145/3643833.3656128.
R.K. Mahmood, A.I. Mahameed, N.Q. Lateef, H.M. Jasim, A.D. Radhi, S.R. Ahmed, P. Tupe-Waghmare, “Optimizing Network Security with Machine Learning and Multi-Factor Authentication for Enhanced Intrusion Detection,” Journal of Robotics and Control (JRC), vol. 5, no. 5, Aug. 2024, pp. 1502–24.
E.S.K. Siew, Z.Y. Chong, S.N. Sze, R. Hardi, “Streamlining Attendance Management in Education: A Web-Based System Combining Facial Recognition and QR Code Technology,” Journal of Advanced Research in Applied Sciences and Engineering Technology, vol. 33, no. 2, Nov. 2023, pp. 198–208, doi: 10.37934/araset.33.2.198208.
M.A.B.M. Latif, R.A. Aziz, H. Hafit, “Development of Student Face Recognition Attendance System,” 2024 IEEE 22nd Student Conference on Research and Development (SCOReD), 2024, pp. 134–39. IEEE Xplore, doi: 10.1109/SCOReD64708.2024.10872759.
J.R. Lee, K.W. Ng, Y.J. Yoong, “Face and Facial Expressions Recognition System for Blind People Using ResNet50 Architecture and CNN,” Journal of Informatics and Web Engineering, vol. 2, no. 2, Sept. 2023, pp. 284–98, doi: 10.33093/jiwe.2023.2.2.20.
J. Lv, “Design of Face Recognition System Based on Linux System and OpenCV,” 2023 3rd International Signal Processing, Communications and Engineering Management Conference (ISPCEM) [Montreal, QC, Canada], 2023, pp. 731–34. doi: 10.1109/ISPCEM60569.2023.00137.
M.A.A. Halim, M.F.I. Othman, A.Z.Z. Abidin, E. Hamid, N. Harum, W.M. Shah, “Face Recognition-Based Door Locking System with Two-Factor Authentication Using OpenCV,” 2021 Sixth International Conference on Informatics and Computing (ICIC) [Jakarta, Indonesia], 2021, pp. 1–7. doi: 10.1109/ICIC54025.2021.9632928.
J. Lai, S. Heng, “Secure File Storage On Cloud Using Hybrid Cryptography,” Journal of Informatics and Web Engineering, vol. 1, no. 2, Sept. 2022, pp. 1–18. journals.mmupress.com, doi: 10.33093/jiwe.2022.1.2.1.
M. Tian, Y. Zhang, Y. Zhang, X. Xiao, W. Wen, “A Privacy-Preserving Image Retrieval Scheme with Access Control Based on Searchable Encryption in Media Cloud,” Cybersecurity, vol. 7, no. 1, July 2024, pp. 22, doi: 10.1186/s42400-024-00213-z.
R. Wang, C. Li, K. Zhang, B. Tu, “Zero-Trust Based Dynamic Access Control for Cloud Computing,” Cybersecurity, vol. 8, no. 1, Feb. 2025, pp. 12, doi: 10.1186/s42400-024-00320-x.
S. Singh, S. Bharadwaj, G. Raj, “Face Recognition Application Using MATLAB & Python,” 2023 International Conference on Artificial Intelligence and Smart Communication (AISC), 2023, pp. 705–09, doi: 10.1109/AISC56616.2023.10085064.
M.C. Gunalan, K. Bavani, M. Hayden, S. Rahul, “Dynamic Website Authentication Using Time-Based One-Time Password (TOTP) for Enhanced Security,” 2025 International Conference on Data Science, Agents & Artificial Intelligence (ICDSAAI), 2025, pp. 1–2, doi: 10.1109/ICDSAAI65575.2025.11011563.
D. Yaganti, “A Lightweight Behavioral Biometric Framework Using Python and Flask for Continuous Authentication in Online Banking,” International Journal of Advanced Research in Science, Communication and Technology, Feb. 2023, pp. 738–44, doi: 10.48175/IJARSCT-8347V.
A. Dhyani, R. Bamrara, A. Verma, “Exploring the Effectiveness of OpenCV in Face Recognition for Student Attendance,” 2024 Intelligent Systems and Machine Learning Conference (ISML), 2024, pp. 311–15, doi: 10.1109/ISML60050.2024.11007458.
G. Singh, I. Gupta, J. Singh, N. Kaur, “Face Recognition Using Open Source Computer Vision Library (OpenCV) with Python,” 2022 10th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO) 2022, pp. 1–6, doi: 10.1109/ICRITO56286.2022.9964836.