Now a days the majority of web pages are built with the help of open source PHP/MySQL based softwares. The main aim is to provide goods and services to their clients or users. Due to the interactivity the site provides, in order to engage the visitor with user interactive forms where user input is the key, its very important to address the security issues that can be exploited by malicious third party and ensure the best user experience. Some common types of Hacking is discussed below. There are many kinds of attack which the hacker does in order to control your website partially or totally. The most common and most dangerous types is the SQL injections and cross site scripting (XSS) Sql Injection techniques is to include a small piece of data or code to the database system (MySQL) which will exploit the database vurnability. SQL injection can run havoq on your website which can range from data deletion to unwanted data addition. Some precaution against these attacks on SQL injection are as follows:
Its a good practice to add a layer between the interactive forms and the database. That layer can be as simple as character escaping where the dangerous character of SQL commands are omitted or set to be deactive so that the database process these as normal strings.