Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73595 > unrolled thread

protect psycopg script from sql injection?

Started bydandrigo <laurent.celati@gmail.com>
First post2014-06-25 14:43 -0700
Last post2014-06-25 14:43 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  protect psycopg script from sql injection? dandrigo <laurent.celati@gmail.com> - 2014-06-25 14:43 -0700

#73595 — protect psycopg script from sql injection?

Fromdandrigo <laurent.celati@gmail.com>
Date2014-06-25 14:43 -0700
Subjectprotect psycopg script from sql injection?
Message-ID<mailman.11246.1403733858.18130.python-list@python.org>
Hello,

I coded this following python script via psycopg;

web_service_test.py
<http://python.6.x6.nabble.com/file/n5062113/web_service_test.py>  

1/ When i execute it, the result is 'bad resquest'. Could you tell me why? 

2/ Could you tell me how to protect this script from SQL injections please? 

Thank you. 





--
View this message in context: http://python.6.x6.nabble.com/protect-psycopg-script-from-sql-injection-tp5062113.html
Sent from the Python - python-list mailing list archive at Nabble.com.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web