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


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

protect psycopg script from sql injection?

Started bycelati Laurent <laurent.celati@gmail.com>
First post2014-06-25 23:58 +0200
Last post2014-06-25 23:58 +0200
Articles 1 — 1 participant

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


Contents

  protect psycopg script from sql injection? celati Laurent <laurent.celati@gmail.com> - 2014-06-25 23:58 +0200

#73594 — protect psycopg script from sql injection?

Fromcelati Laurent <laurent.celati@gmail.com>
Date2014-06-25 23:58 +0200
Subjectprotect psycopg script from sql injection?
Message-ID<mailman.11245.1403733516.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — 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.

[toc] | [standalone]


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


csiph-web