A Secure and Efficient Cross-Platform P2P File Sharing System
DOI:
https://doi.org/10.21467/proceedings.7.6.20Keywords:
The application, peer-to-peer networking, TCP/UDPAbstract
Safe and effective file sharing is an urgent requirement in the current era of digitization, but the current facilities such as cloud-based systems (e.g., Google Drive) and conventional peer-to-peer (P2P) techniques (e.g., Bluetooth) are lacking due to privacy issues, reliance on the internet, and platform dependency. "The application," a hybrid P2P file-sharing system that facilitates cross-platform, offline, and secure file sharing, is proposed in this paper. The application includes a customized networking stack over UDP for device discovery performance and TCP for guaranteed data transport with the assistance of a local hotspot mode to perform server-independently. Security is also increased by AES-256-CBC encryption and RSA-2048 key exchange, along with search functionality based on SQLite, which provides intelligent file structure and retrieval. Performance tests indicate transfer rates of 12-18 MB/s, with device discovery less than 50 ms. The application provides a safe, privacy-oriented alternative to traditional file-sharing infrastructure, and there is potential for mass deployment in a variety of applications.
References
[1] B. Y. Zhao, L. Huang, J. Stribling, S. C. Rhea, A. D. Joseph, and J. D. Kubiatowicz, “A lightweight model for mobile peer-to-peer file sharing systems,” Proc. Int. Conf. Distrib. Computer. Syst., pp. 224–233, 2010.
[2] M. Usman, M. A. Jan, X. He, and P. Nanda, “A secure data sharing platform using blockchain and interplanetary file systems,” Sustainability, vol. 11, no. 24, pp. 7054–7070, 2019.
[3] M. Usman, M. A. Jan, and X. He, “Peer-to-peer file sharing framework for smartphones: Deployment and evaluation on Android,” Proc. Int. Conf. Mobile Comput. Appl., pp. 320–329, 2017.
[4] S. Bhagat, S. Patil, and R. Deshmukh, “Content-based file sharing in peer-to-peer networks using threshold,” Proc. Int. Conf. Netw. Commun., pp. 385–394, 2024.
[5] K. P. Gummadi, R. J. Dunn, S. Saroiu, S. D. Gribble, H. M. Levy, and J. Zahorjan, “Real datasets for file-sharing peer-to-peer systems,” Proc. Int. Conf. Peer-to-Peer Comput., pp. 346–355, 2020.
[6] L. P. T. Chequer, “Network layer performance in peer-to-peer file sharing systems,” J. Netw. Computer. Appl., vol. 36, no. 1, pp. 361–370, 2022.
[7] Abadi, Martín, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado et al. "Tensorflow: Large-scale machine learning on heterogeneous distributed systems." arXiv preprint arXiv:1603.04467 ,2016.
[8] A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam, “MobileNets: Efficient convolutional neural networks for mobile vision applications,” arXiv, pp. 1704–1713, 2017.
[9] M. Sandler, A. Howard, M. Zhu, A. Zhigunov, and L.-C. Chen, “MobileNetV2: Inverted residuals and linear bottlenecks,” arXiv, pp. 1801–1810, 2018.
[10] M. Abadi, P. Barham, J. Chen, Z. Chen, A. Davis, J. Dean, M. Devin, S. Ghemawat, G. Irving, M. Isard, M. Kudlur, J. Levenberg, R. Monga, S. Moore, D. G. Murray, B. Steiner, P. Tucker, V. Vasudevan, P. Warden, M. Wicke, Y. Yu, and X. Zheng, “TensorFlow: A system for large-scale machine learning,” Proc. Int. Conf. Syst. Softw., pp. 304–313, 2016.
[11] R. Akter, M. A. R. Khan, F. Rahman, S. J. Soheli, and N. J. Suha, “RSA and AES based hybrid encryption technique for enhancing data security in cloud computing,” Proc. Int. Conf. Cloud Comput., pp. 224–233, 2011.
[12] A. Faisal and M. Zulkernine, “A secure architecture for TCP/UDP-based cloud communications,” Int. J. Inf. Secur., vol. 20, no. 4, pp. 561–576, 2021.
[13] K. Rajkumar and P. Swaminathan, “Combining TCP and UDP for secure data transfer,” Int. J. Sci. Technol., vol. 4, no. 9, pp. 123–132, 2015.
[14] A. Singh, A. K. Sharma, and A. Kumar, “Designing & comparing centralized TCP file server with TCP & UDP based enhanced unicast and multicast multimedia file servers,” Proc. Int. Conf. Commun. Syst., pp. 461–470, 2014.
[15] D. M. Alsaffar, A. S. Almutairi, B. Alqahtani, R. M. Alamri, H. F. Alqahtani, and N. N. Alqahtani, “Image encryption based on AES and RSA algorithms,” Proc. Int. Conf. Comput. Appl. Inf. Secur., pp. 909–918, 2020.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.