Free-form SQL vs SafeMode SQL


Free-form Code Input Parsing
Code and data are intermixed
SafeMode - Structured Input Parsing
Code and data are separated by adhering to a predefined structure
SELECT * FROM users WHERE name = 'user1' /* SafeMode */
SELECT *
FROM users
WHERE name
= 'user1'
SELECT * FROM users WHERE name = '' OR 1 = 1 ' /* SafeMode */
SELECT *
FROM users
WHERE name
= '' or 1=1'


SafeMode SafeMode hosted on SourceForge.net.
        Fast, secure and Free Open Source software downloads