Wardaya, Fawwaz Mufid and Rachmad Andri Atmoko,, S.ST., M.T. MCF (2026) Implementasi Secure Session Management dan Pencegahan Information Leakage pada Aplikasi Kolaboratif (OriensSpace) Berbasis SPA Menggunakan Standar OWASP WSTG v4.2. Diploma thesis, Universitas Brawijaya.
Abstract
Studi ini mempelajari bagaimana menerapkan penguatan keamanan pada lapisan frontend aplikasi kolaboratif OriensSpace, yang dibangun menggunakan arsitektur Single Page Application (SPA) yang dibangun menggunakan React.js. Arsitektur SPA menjalankan sebagian besar proses logika aplikasi dan manajemen state berjalan pada sisi klien, yang membuat browser developer tools lebih mudah dilihat. Kondisi ini menimbulkan ancaman keamanan, terutama yang berkaitan dengan penyimpanan token autentikasi yang berkelanjutan di browser serta kemungkinan informasi teknis yang bocor melalui mekanisme error handling antarmuka pengguna. Oleh karena itu, security hardening client-side diperlukan untuk mengurangi eksposur data sensitif dan mengurangi kemungkinan eksploitasi pada sisi klien. Berdasarkan standar OWASP Web Security Testing Guide (WSTG) v4.2, penelitian ini berfokus pada dua elemen keamanan utama: mitigasi kerentanan penyimpanan token yang tidak aman (WSTG-SESS-02) dan pencegahan kesalahan yang tidak tepat mencegah kebocoran data (WSTG-ERRH-01). Untuk meminimalkan risiko pencurian sesi, penyimpanan token autentikasi dialihkan dari penyimpanan persisten localStorage ke sessionStorage, yang hanya berfungsi selama sesi browser aktif. Menggunakan Global Error Interceptor pada Apollo Client melakukan mitigasi kedua. Ini menyaring dan menormalisasi pesan kesalahan teknis sebelum ditampilkan kepada pengguna. Hasil implementasi menunjukkan bahwa penggunaan mekanisme Session-Bound Storage dan sanitasi error melalui Global Error Interceptor dapat meningkatkan posisi keamanan pada lapisan frontend tanpa mengubah arsitektur backend. Penelitian ini diharapkan untuk menjadi referensi untuk penerapan keamanan frontend yang lebih aman sambil mempertahankan pengalaman pengguna yang baik. Ini karena pendekatan ini tidak dimaksudkan sebagai solusi keamanan absolut, tetapi sebagai bagian dari strategi defense in depth untuk mengurangi permukaan serangan pada aplikasi berbasis SPA.
English Abstract
This study examines how to implement security hardening in the frontend layer of the OriensSpace collaborative application, built using a Single Page Application (SPA) architecture built with React.js. The SPA architecture executes most of the application logic and state management on the client side, making browser developer tools more accessible. This situation poses security threats, particularly those related to the persistent storage of authentication tokens in the browser and the potential for technical information leaks through user interface error handling mechanisms. Therefore, client-side security hardening is necessary to mitigate sensitive data exposure and reduce the likelihood of client-side exploits. Based on the OWASP Web Security Testing Guide (WSTG) v4.2 standard, this study focuses on two key security elements: mitigating the vulnerability of insecure token storage (WSTG-SESS-02) and preventing improper error data leakage (WSTG-ERRH-01). To minimize the risk of session theft, authentication token storage is shifted from localStorage to sessionStorage, which only functions during an active browser session. The use of the Global Error Interceptor in the Apollo Client provides the second mitigation. This filters and normalizes technical error messages before they are displayed to the user. The implementation results show that using Session-Bound Storage and error sanitization mechanisms through Global Error Interceptors can improve front-end security without changing the back-end architecture. This research is expected to serve as a reference for implementing more secure front-end security while maintaining a good user experience. This approach is not intended as an absolute security solution, but rather as part of a defense-in-depth strategy to reduce the attack surface of SPA-based applications.
| Item Type: | Thesis (Diploma) |
|---|---|
| Identification Number: | 052617 |
| Uncontrolled Keywords: | Single Page Application (SPA), Client-Side Security Hardening, Session Storage, Error Handling, OWASP WSTG |
| Subjects: | 000 Computer science, information and general works > 004 Computer science |
| Divisions: | Program Vokasi > D3 Teknologi Informasi |
| Depositing User: | S Sucipto |
| Date Deposited: | 18 Aug 2026 06:53 |
| Last Modified: | 18 Aug 2026 06:53 |
| URI: | http://repository.ub.ac.id/id/eprint/258644 |
|
Text (DALAM MASA EMBARGO)
-Fawwaz Mufid Wardaya.pdf Restricted to Registered users only Download (11MB) |
Actions (login required)
![]() |
View Item |
