doi: 10.4304/jsw.2.6.53-63
Using Aspect Programming to Secure Web Applications
- 1 ITESMCEM/Dpto. Ciencias Computacionales, Edo. de Mexico, Mexico
- 2 University of LilleLIFLINRIA Project ADAM, Villeneuve d’Ascq, France
Abstract
As the Internet users increase, the need to protect web servers from malicious users has become a priority in many organizations and companies. Writing crosscutting functions in complex software should take advantage of the modularity offered by new software development approaches. With AspectOriented Programming (AOP), separating concerns when designing an application fosters reuse, parameterization and maintenance. In this paper, we design a security aspect called AProSec for detecting SQL injection and Cross Scripting Site (XSS), that are common attacks in web servers. We experimented this aspect with AspectJ language and JBoss AOP. By this experimentation, we show the advantage of runtime platforms such as JBoss AOP for changing security policies at runtime. Finally, we describe related work on security and AOP.
Keywords
- Aspectoriented programming
- security
- SQ
How to Cite
Gabriel Hermosillo Roberto Gomez and Lionel Seinturier Laurence Duchien, "Using Aspect Programming to Secure Web Applications," Journal of Software, vol. 2, no. 6, pp. 53-63, 2007. https://doi.org/ 10.4304/jsw.2.6.53-63
Copyright & License
Copyright © 2007 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).
