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


Groups > comp.lang.python > #73594

protect psycopg script from sql injection?

Date 2014-06-25 23:58 +0200
Subject protect psycopg script from sql injection?
From celati Laurent <laurent.celati@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.11245.1403733516.18130.python-list@python.org> (permalink)

Show all headers | View raw


[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.

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


Thread

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

csiph-web