A Four-Layer Architecture for Web Application System Security Assurance:A Safeguard Mechanism Research