http://codecanyon.net/item/security...m&WT.seg_1=search_item&WT.z_author=WebFactory
might be a good place to start folks. at least that way you can easily see some of the more common vulnerabilities you are dealing with. Very easy to setup too.
http://www.virustotal.com/file-scan/report.html?id=6193aa0309ea4f3171636d2336e752ccffa0f5e1f22c21abf96edf4d66589326-1326320601
The only way to be 100% bulletproof against SQL injections is usin mysql prepared statements.
Although Prepared Statements helps in defending against SQL Injection, there are possibilities of SQL Injection attacks through inappropriate usage of Prepared Statements. The example below explains such a scenario where the input variables are passed directly into the Prepared Statement and thereby paving way for SQL Injection attacks.
Code:String strUserName = request.getParameter("Txt_UserName"); PreparedStatement prepStmt = con.prepareStatement("SELECT * FROM user WHERE userId = '+strUserName+'");
hey guys i was wondering how can i make my MySQL database safe from SQL injections and XSS exploits.