sending executable data over network..

Terry Reedy tjreedy at udel.edu
Tue Jun 24 20:52:34 CEST 2008



Piyush Anonymous wrote:
> any idea or pointer how i could link it to running code in server?
> for example, i get a new method definition for a method and i wish to 
> change it.
> client sent new definition, i compile it in server. how can i link it to 
> old code?

Code to be hot-updated (while running) must have update capability 
builtin.  But please consider security.  If a remote system can log in 
and *push* code, an attacker can potentially do the same.  Notice that 
self-updating programs and systems generally log out to a hardwired 
location, ask if there are updates, and *pull* the new code.




More information about the Python-list mailing list