Computers advanced very fast technologically In recent times. This progress leads to high demand for more secure systems because sophisticated security problems have arisen. Since modern systems involve several areas of expertise, it is vital for the security engineer to follow an efficient and optimum approach and to take into consideration the mathematical and physical properties of the system. In the present study, the focus was placed on specific aspects of secure software building; the primary objective is to provide efficient and secure software in terms of resources and time. The designer should keep, as well, productivity, security and cost aspects in balance. Safe system requirements are continuously changing. Therefore, the designers should be aware of these changes. At the start of this research, the researchers distributed a survey about the security-engineering principles related to the life cycle of software engineering life and secure web systems. From the data acquired, the proposed method was developed and presented as a secure e-mail system built according to the engineering principles of software. The AHP (Analytic Hierarchy Process) technique correlated with composition operator have been used for finding the optimal concerns of software requirements and keep minimum maintenance and cost effect.