Perlindungan Form Website Pada Framework Flask Dengan Metode Regular Expression

  • Mahendra Chevro Susanto Universitas Bina Insani
Keywords: Regular Expression, Framework Flask, Python, Cross Site Scripting, Injection

Abstract

This research aims to find out the use of regular expression methods in protecting website forms on the flask framework. The regular expression pattern used in this research is [^A-Za-z0-9@]. In this study, testing was carried out using the black box testing method Equivalence Partitioning technique to create test criteria in website form input. The results of black box testing produce two expectations, namely "Secure Data" and "Insecure Data". The results of this study indicate that the use of the Regular Expression method in website form protection is quite effective. Regular Expression makes it possible to validate the data inputted by users and prevent malicious input by removing invalid characters.

References

[1] S. P. Sitorus and R. A. Habibi, 2020, Teknik Pencegahan Penetrasi SQL Injeksi Dengan Pengaturan Input Type Number dan Batasan Input Pada Form Login Website, U-NET Jurnal Teknik Informatika, vol. 4, no. 2, hal 26–33.
[2] T. Revolino Syarif and D. Andri Jatmiko, Analisis Perbandingan Metode Web Security Ptes, Issaf Dan Owasp Di Dinas Komunikasi Dan Informasi Kota Bandung, E-Library Unikom.
[3] M. A. Z. Risky and Y. Yuhandri, 2021, Optimalisasi dalam Penetrasi Testing Keamanan Website Menggunakan Teknik SQL Injection dan XSS, Jurnal Sistim Informasi dan Teknologi, vol. 3, no. 4, hal 215–220.
[4] Sanjaya, I., Sasmita, G., & Arsa, D., 2020, Evaluasi Keamanan Website Lembaga X Melalui Penetration Testing Menggunakan Framework ISSAF, Jurnal Ilmiah Merpati (Menara Penelitian Akademika Teknologi Informasi), vol. 8, no. 2, hal 113-124.
[5] I. Salim, A. Muzakir, and H. Syaputra, 2020, Perangkat Lunak Koreksi Penggunaan Sumberkutipan Dan Daftar Pustaka Pada Jurnal Mahasiswa, Jurnal Pengembangan Sistem Informasi dan Informatika, vol. 1, no. 2, hal 100–109.
[6] Budi Raharjo, 2017, Belajar Otodidak Flask (Framework Python Untuk Pengembangan Aplikasi Web), Informatika, Bandung.
[7] Budi Raharjo, 2019, Kumpulan Solusi Pemrograman Python, Ed. Revisi, Informatika, Bandung.
[8] Computer Hope, 2020, What is a Regex (Regular Expression)?, https://www.computerhope.com/jargon/r/regex.htm, diakses tgl 15 September 2022.
[9] Wikipedia, 2022, Regular expression - Wikipedia, https://en.wikipedia.org/wiki/Regular_expression, diakses tgl 15 September 2022.
[10] A. Latif, 2015, Implementasi Kriptografi Menggunakan Metode Advanced Encryption Standar(Aes) Untuk Pengamanan Data Teks, Mustek Anim Ha vol. 2, hal 164–172.
[11] Y. Dwi Wijaya and M. Wardah Astuti, 2021, Pengujian Blackbox Sistem Informasi Penilaian Kinerja Karyawan Pt Inka (Persero) Berbasis Equivalence Partitions, Jurnal Digital Teknologi Informasi, vol. 4, hal 22-26.
Published
2023-09-08