Implementation of Email-Based One-Time Password Authentication for Securing Student Portal Login

Authors

  • Alwin Fau Universitas Budi Darma Author

Keywords:

one-time password, student portal, authentication, email OTP, login security

Abstract

Password-only authentication exposes web portals to risks associated with credential theft, reuse, and guessing. This study implements an email-based One-Time Password (OTP) as an additional verification step for the student portal of Universitas Budi Darma. The prototype generates a temporary token after successful username-and-password verification, sends the token to the registered email address, stores the verification value on the server, and limits its validity to six minutes. The study evaluates the design through functional authentication scenarios and a security-oriented analysis of single use, expiration, credential theft, brute-force exposure, phishing, and transport protection. The implementation adds a second verification step so that possession of a static password alone is insufficient to complete login. However, the analysis also shows that OTP security depends on short validity, attempt limiting, secure transport, protected email access, and safe token generation. The original prototype uses an MD5-derived value; this is retained only as part of the implemented design and is not recommended for production deployment. Standards-based HOTP/TOTP with HMAC-SHA-256 or equivalent modern mechanisms are preferable for future development.

References

M'Raihi, D., Bellare, M., Hoornaert, F., Naccache, D., & Ranen, O. (2005). HOTP: An HMAC-based One-Time Password algorithm (RFC 4226). Internet Engineering Task Force. https://doi.org/10.17487/RFC4226

M'Raihi, D., Machani, S., Pei, M., & Rydell, J. (2011). TOTP: Time-Based One-Time Password algorithm (RFC 6238). Internet Engineering Task Force. https://doi.org/10.17487/RFC6238

Bonneau, J., Herley, C., van Oorschot, P. C., & Stajano, F. (2012). The quest to replace passwords: A framework for comparative evaluation of web authentication schemes. 2012 IEEE Symposium on Security and Privacy, 553-567. https://doi.org/10.1109/SP.2012.44

Santoso, K. I., Sediyono, E., & Suhartono. (2013). Studi pengamanan login pada sistem informasi akademik menggunakan otentifikasi One Time Password berbasis SMS dengan Hash MD5. Jurnal Sistem Informasi Bisnis, 3(1), 7-12.

Ometov, A., Bezzateev, S., Mäkitalo, N., Andreev, S., Mikkonen, T., & Koucheryavy, Y. (2018). Multi-Factor Authentication: A survey. Cryptography, 2(1), 1. https://doi.org/10.3390/cryptography2010001

Grassi, P. A., Fenton, J. L., Newton, E. M., Perlner, R. A., Regenscheid, A. R., Burr, W. E., Richer, J. P., Lefkovitz, N. B., Danker, J. M., Choong, Y.-Y., Greene, K. K., & Theofanos, M. F. (2020). Digital Identity Guidelines: Authentication and Lifecycle Management (NIST SP 800-63B, updates as of 03-02-2020). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.800-63b

Azhar, Arkarni, W., & Atthariq. (2020). Sistem keamanan pada halaman login menggunakan One Time Password. Journal of Embedded Systems, Security and Intelligent Systems, 1(2), 106-113.

Sari, A. N., & Abdillah, T. G. (2021). Metode absensi mahasiswa berbasis QR Code dan Time-Based One-Time Password. Jurnal Informatika Polinema, 7(2), 29-34. https://doi.org/10.33795/jip.v7i2.492

Chan Suet Yan, S., Tang Su Wei, A., Bong, J. H., Teh, Q. L., Sivalingam, S., Khoo, S. Y., & Nafy, T. M. (2021). Authentication of IoT device with the enhancement of One-time Password (OTP). Journal of IT in Asia, 9(1), 29-40. https://doi.org/10.33736/jita.3841.2021

Tok, Y. X., Katuk, N., & Che Mohamed Arif, A. S. (2021). Smart home multi-factor authentication using face recognition and One-Time Password on smartphone. International Journal of Interactive Mobile Technologies, 15(24), 32-48. https://doi.org/10.3991/ijim.v15i24.25393

Catalfamo, A., Ruggeri, A., Celesti, A., Fazio, M., & Villari, M. (2021). A microservices and blockchain based One Time Password (MBB-OTP) protocol for security-enhanced authentication. 2021 IEEE Symposium on Computers and Communications, 1-6. https://doi.org/10.1109/ISCC53001.2021.9631479

Vorakulpipat, C., Pichetjamroen, S., & Rattanalerdnusorn, E. (2021). Usable comprehensive-factor authentication for a secure time attendance system. PeerJ Computer Science, 7, e678. https://doi.org/10.7717/peerj-cs.678

Downloads

Published

12-12-2023

How to Cite

Fau, A. (2023). Implementation of Email-Based One-Time Password Authentication for Securing Student Portal Login. Pascal: Journal of Computer Science and Informatics, 1(01), 16-20. https://jurnal.devitara.or.id/index.php/komputer/article/view/91

Similar Articles

1-10 of 21

You may also start an advanced similarity search for this article.