Menu

#20 Escape special characters in user input fields

open
5
2005-12-14
2005-12-14
No

Special characters (especially ', ", etc.) should be
properly escaped before they are used in a DB query.
The main reason for this is to prevent syntax errors
during query execution and problems with SQL injection.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB