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


Groups > comp.lang.python > #73595

protect psycopg script from sql injection?

Date 2014-06-25 14:43 -0700
From dandrigo <laurent.celati@gmail.com>
Subject protect psycopg script from sql injection?
Newsgroups comp.lang.python
Message-ID <mailman.11246.1403733858.18130.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web