Font Size: a A A

Application Security Research Based On API Gateway

Posted on:2024-03-28Degree:MasterType:Thesis
Country:ChinaCandidate:G H LuFull Text:PDF
GTID:2558307067972829Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the rapid development of the Internet,enterprise applications are constantly being updated and iterated.At the same time,the number of attacks on the network is also increasing,and the importance of application security is becoming more and more prominent.Application security mainly focuses on authentication and access control,message encryption,and attack detection.Most of the network attack prevention and detection methods currently proposed only target a specific type of attack.However,in a real network environment,multiple attacks often occur simultaneously.The research goal of this thesis is to study how to implement these application security prevention technologies in an API gateway based architecture,with a focus on optimizing attack detection to achieve better detection results and effectively protect the security of API gateways and enterprise applications.Finally,this thesis uses actual cases to verify the application security technologies proposed in this thesis.The main work is as follows:(1)Implementing user authentication and access control.It uses JWT tokens combined with username and password to verify identity,sets token lifetimes to prevent login bypass and identity forgery,and validates tokens during system page transitions and user requests.In terms of access control,it applies the RBAC model,sets up role management modules,and associates users with roles.It sets up permission management in the functional modules,allowing users to distribute permissions to roles,and achieves separation of internal and external application permissions within the enterprise.(2)Introducing message encryption mechanisms to prevent information leakage.It uses the open-source Java Script encryption library Crypto-js to implement message encryption in gateway management,encrypts information transmitted from the front-end interface to the back-end,and reuses functions through API calls,allowing data sent from the back-end to the front-end to be encrypted as well,protecting gateway information security.Crypto-js provides various encryption algorithms such as AES,RSA,and SHA,effectively protecting messages passed between applications and preventing tampering or theft.(3)Performing attack detection on URLs and external information inputs.Past common attack detection methods were limited to establishing simple character rules to filter attacks or precisely to match attacks,and they could not promptly detect new attack types and methods.The emergence of artificial intelligence technology provides a new solution for security detection technology,improving attack detection by using artificial intelligence technology to learn normal or abnormal network behavior patterns and accurately identify attacks.It adopts three deep learning-based models(GRU,LSTM,CNN)to design and improve the detection model,then further integrates the models,designing CNN-GRU and CNN-LSTM to achieve optimized detection results.It applies the best model to API gateway external input and URL detection,combined with message encryption,to achieve better security prevention results.In the increasingly popular API gateway-based enterprise application architecture,implementing access control,message encryption,and attack detection for API gateways and enterprise applications will enhance the security of enterprise applications to a higher level and have high practical value.
Keywords/Search Tags:API gateway, Authentication, Access control, Message encryption, Attack detection
PDF Full Text Request
Related items