摘要
软件规模的不断扩大、结构的日益复杂,给软件代码的安全性提出了更高的要求。AOP作为一种全新的编程思想,从编程方法学的角度提供了一种安全程序设计的方法。利用AOP技术,可将程序中的安全代码抽象成为单独模块,并可灵活使用各种安全策略,然后通过联结将安全代码作用于所有相关核心组件,由此大大提高了安全模块的重用性和程序的安全性。文章介绍了AOP的核心思想,探讨了基于AOP安全程序设计的基本方法,最后通过对程序实例的比较,分析了AOP安全程序设计的特点。
With the expanding of software scale and the intricacy of its structure,a higher demand on the code securityis required. As a new programming methodology, AOP provides a new approach forsecuringprogram design. Using this approach, the secure codescan be abstracted as an individualmoduleand the secure policy can be applied freely, and then, the secure codes take effect to core concern by weaving. Thus the reusebility and security of a program will beenhanced. The main idea of AOP is introduced and the design approach of AOP-based secure program is discussed. At last, an example is illustrated.
出处
《重庆大学学报(自然科学版)》
EI
CAS
CSCD
北大核心
2004年第11期39-42,共4页
Journal of Chongqing University
基金
国家自然科学基金项目(60073047)