Best Package to Address SQL Injection Vulnerabilities #sql injection
Edit
by E. Anderson - 9 years ago (2015-08-28)
Upgrading security of existing MySQL code
| Looking for easiest most direct method to upgrade MySQL 5.5 code throughout application that has several 100 MySQL queries. Glad to upgrade to 5.6 if advised. Thanks very much. |
Ask clarification
2 Recommendations
PHP MySQL JSON Manager: Build and Execute SQL queries with results in JSON
This package can build and execute SQL queries with results in JSON.
It can compose SQL queries of several types, so the results are returned from the database already formatted in JSON format.
Currently it can extract specific parameters from GET or POST arrays, generate SQL expressions to return JSON formatted strings or object values, execute the queries to return the query results as a single JSON string.
| by Isaac Trenado Mx package author 55 - 9 years ago (2016-03-23) Comment
Why don't use my DPManager. With class you can execute querys from arrays, getting results like a object, array, string or json-string. If you think chance between mysql, mssql, Oracle. Is compatible with ADODB múltiples drivers |
PHP Sanitize Class: Validate and sanitize string values
This package can be used to validate and sanitize string values.
It provides a factory class that can create objects of different classes that can validate and sanitize values of strings of many different types.
Currently it provides classes to validate strings values that can be integer or floating point numbers, HTML, LDAP identifier, SQL, UTF-8 characters, alphanumeric strings, etc..
Custom validator classes can be created by extending AbstractSanitizer class and implementing the ISanitizer interface.
| by Leo Daidone package author 45 - 9 years ago (2016-03-07) Comment
This package will help you to sanitize (validate/clean) your inputs, this is the 50% of the problem, to solve the other half you might need to check and maybe re-write them in order to use prepare statements.
Hope this helps. |