Pickling over a socket
Jean-Paul Calderone
calderone.jeanpaul at gmail.com
Tue Apr 19 22:28:50 EDT 2011
On Apr 19, 6:27 pm, Roger Alexander <rtalexan... at mac.com> wrote:
> Thanks everybody, got it working.
>
> I appreciate the help!
>
> Roger.
It's too bad none of the other respondents pointed out to you that you
_shouldn't do this_! Pickle is not suitable for use over the network
like this. Your server accepts arbitrary code from clients and
executes it. It is completely insecure. Do not use pickle and
sockets together. Notice the large red box at the top of <http://
docs.python.org/library/pickle.html>.
Jean-Paul
More information about the Python-list
mailing list