Defending the Digital Frontier: An Ethical Approach to Web Application Security