Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53088
| Date | 2013-08-27 15:17 -0500 |
|---|---|
| From | Andrew Berg <robotsondrugs@gmail.com> |
| Subject | Re: How to check client shutdown? |
| References | <f543172d-85e6-467d-9fc8-f59d41381edd@googlegroups.com> <mailman.245.1377547782.19984.python-list@python.org> <2f3e7c96-45a7-485c-bfc7-18bf9841114b@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.280.1377634652.19984.python-list@python.org> (permalink) |
On 2013.08.27 12:44, Paul Pittlerson wrote: > Security issue!? Do you mean someone could enter devious python h4xx into the chat or something? I had no idea using pickle was so dangerous, but I don't know any other method of transmitting data in python :( JSON, XML, or any other format that doesn't have the capacity to serialize directly executable Python code. Pickles are okay for internal data from trusted sources, but don't accept pickles from anyone you don't trust. JSON is simple, easy, and can handle the common data types, and there is a module for it in the stdlib. It's also a standard format you can use in pretty much any language, and it's human readable. -- CPython 3.3.2 | Windows NT 6.2.9200 / FreeBSD 9.1
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to check client shutdown? Paul Pittlerson <menkomigen6@gmail.com> - 2013-08-26 12:45 -0700
Re: How to check client shutdown? Chris Angelico <rosuav@gmail.com> - 2013-08-27 06:09 +1000
Re: How to check client shutdown? Paul Pittlerson <menkomigen6@gmail.com> - 2013-08-27 10:44 -0700
Re: How to check client shutdown? Andrew Berg <robotsondrugs@gmail.com> - 2013-08-27 15:17 -0500
Re: How to check client shutdown? Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-08-27 22:22 +0200
Re: How to check client shutdown? Chris Angelico <rosuav@gmail.com> - 2013-08-28 06:40 +1000
Re: How to check client shutdown? Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-08-27 22:49 +0200
Re: How to check client shutdown? MRAB <python@mrabarnett.plus.com> - 2013-08-26 21:20 +0100
Re: How to check client shutdown? Grant Edwards <invalid@invalid.invalid> - 2013-08-26 20:24 +0000
csiph-web