pls read the book: Web Hacking Attacks and Defense.
Overview about the book:
E-Commerce Playground
Shopping Carts and Payment Gateways
Web and Database Servers
HTTP and HTTPS: The Hacking Protocols
The Web Hacker's Sword
URLs Unraveled
How Do They Do It?
Cyber Graffiti
E-Shoplifting
Database Access
Impersonation
Java: Remote Command Execution
Buffer Overflows: On-the-Fly
This book published for the web masters defense...
Good luck bro hope sa mau imo purpose.