Socket-based File Transfer System using AES-256 and OTP Authentication
Main Article Content
Abstract
The increasing risk of data interception during file transmission over open networks requires the development of secure communication systems. This study proposes a secure file transfer scheme that integrates the Advanced Encryption Standard (AES) with a 256-bit key and One-Time Password (OTP)-based authentication over socket programming. The system ensures that only verified users can transmit files by requiring password log-in and OTP verification via email. Upon successful authentication, files are encrypted using AES-256 before being transmitted over a TCP/IP socket connection. The implementation is carried out in Python using Visual Studio Code, with performance evaluated based on encryption time, transfer speed, and resistance to brute-force attacks. Various file types and sizes, including text, documents, images, audio, video, and compressed files, were tested to validate the robustness and efficiency of the system. The results show that the proposed system maintains high data integrity, enforces strong access control, and effectively resists unauthorized access, making it suitable for applications requiring secure file exchange.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International 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 that allows others to share the work with an acknowledgement 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