Abstract
This paper deals with the common web vulnerabilities by providing effective solutions. The paper explained the most common security issues of web applications and how those can be dealt with through minimal efforts in a structured manner. The practical example code as well as the best practices for different scenarios has been provided. The example code can be downloaded from url http:// samirsoftware.com/code.pdf The code can be used by converting to any preferred web programming or scripting language. The techniques described in this paper can be adopted in conjunction with the programming code to tackle the common vulnerabilities.