SQL-based authentication: Difference between revisions

→‎{{header|Python}}: sorry the previous change was supposed to be a non-minor edit
m (→‎{{header|Python}}: added improve template about sql security)
(→‎{{header|Python}}: sorry the previous change was supposed to be a non-minor edit)
Line 309:
 
=={{header|Python}}==
{{improve|Python|This example is missing proper encoding or bound parameters to avoid SQL injection, which are present in the other examples. In general is is an unsafe practice to create sql commands directly with string operations}}
<lang python>'''with Python 2.6, gives a deprecation warning for sets module, but works'''
import MySQLdb
Anonymous user