note 80464 added to security.database.sql-injection
| From: | ja4chem at yahoo dot co dot uk | Date: | Thu, 17 Jan 2008 15:36:07 +0000 |
| Subject: | note 80464 added to security.database.sql-injection | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135168@lists.php.net to get a copy of this message | ||
SQL injection could be prevented by inserting only base64_encoded data into the data base. Before
searching the data base for a certain value or string base64_encode the search string and then start
the query.
----
Server IP: 194.145.210.3
Probable Submitter: 213.246.74.123
----
Manual Page -- http://www.php.net/manual/en/security.database.sql-injection.php
Edit -- https://master.php.net/note/edit/80464
Del: integrated -- https://master.php.net/note/delete/80464/integrated
Del: useless -- https://master.php.net/note/delete/80464/useless
Del: bad code -- https://master.php.net/note/delete/80464/bad+code
Del: spam -- https://master.php.net/note/delete/80464/spam
Del: non-english -- https://master.php.net/note/delete/80464/non-english
Del: in docs -- https://master.php.net/note/delete/80464/in+docs
Del: other reasons-- https://master.php.net/note/delete/80464
Reject -- https://master.php.net/note/reject/80464
Search -- https://master.php.net/manage/user-notes.php