[Twisted-Python] Sending other things than strings in UDP packets
Yun Mao
maoy at cis.upenn.edu
Thu Oct 7 14:50:39 EDT 2004
There was a discussion on python mailing list on how to make pickle a
little more secure:
http://coding.derkeiler.com/Archive/Python/comp.lang.python/2004-01/2320.html
and the replies:
http://coding.derkeiler.com/Archive/Python/comp.lang.python/2004-01/293index.html
Yun
On Thu, 7 Oct 2004, Christopher Armstrong wrote:
> On Wed, 6 Oct 2004 14:38:55 -0700, Paul Campbell <paul at ref.nmedia.net> wrote:
> > Sending anything via any protocol is fairly easy with python in general.
> >
> > There are two ways to do it depending on your particular goals.
> >
> > The "python way" is as follows:
> >
> > message = pickle.dumps(my structures)
> > my structures = pickle.loads(message)
>
> Ergh. Please don't do anything _close_ to suggesting this. This is not
> the "python way", it is the "stupid, insecure,
> let-people-rm-rf-your-home-directory way".
>
>
> --
> Twisted | Christopher Armstrong: International Man of Twistery
> Radix | Release Manager, Twisted Project
> ---------+ http://radix.twistedmatrix.com
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
More information about the Twisted-Python
mailing list