On Thu, Oct 8, 2009 at 11:04 PM, Ville M. Vainio <vivai...@gmail.com> wrote:

> The only change we need to do is, instead of ip.runlines(), store the
> text as script and run it in leo mainloop. For qt, this can be done by
> QTimer.singleShot.

Now that I think of it more, this is royally insecure. Instead of
running the incoming script directly, make the client create a scrip
tfile under ~/.leo/remote and then send the file name over the socket.
This requires file system access rights which ought to be enough of a
safeguard...

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to 
leo-editor+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to