[Twisted-Python] Sending other things than strings in UDP packets
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:
and the replies:
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
More information about the Twisted-Python