Web applications on uncompromised computers are vulnerable to XSS,CRSF,sql injection attacks and cookie stealing in unsecure wifi environments.
To prevent those security
This is the definitive guide to web attacks. Also, I would recommend you use Metasploit against your web app.