Re: Start Python at client side from web app

2009-01-27 Thread Arlo Belshee
> We create a custom mime-type and register it on the client PC. The web > application > can send signed python code to the client PC. If the signature is correct, > the code will be executed at the client. The signature prevents others from > executing > code. This will let you start a program

Re: Start Python at client side from web app

2009-01-22 Thread Paul Rubin
"Diez B. Roggisch" writes: > Before posting, I tried a jQuery-ajax-call inside Firebug from some > random site to google. It bailed out with a security execption. You should be able to get around the security policy with XUL in Firefox, or with an ActiveX control in MSIE. In the Netscape Navigat

Re: Start Python at client side from web app

2009-01-22 Thread Rob Williscroft
Diez B. Roggisch wrote in news:6ts0dnfc9s0...@mid.uni-berlin.de in comp.lang.python: > Rob Williscroft schrieb: >> Diez B. Roggisch wrote in news:6tpo16fbacf...@mid.uni-berlin.de in >> comp.lang.python: >> 2) create a localhost web server, for the client side manipulation. Then have y

Re: Start Python at client side from web app

2009-01-22 Thread Rob Williscroft
Thomas Guettler wrote in news:6tr453fca5h...@mid.individual.net in comp.lang.python: > Diez B. Roggisch schrieb: >> >>> 2) create a localhost web server, for the client side manipulation. >>> Then have your remote webserver render a form that posts via >>> javavscript to the localhost webserver.

Re: Start Python at client side from web app

2009-01-22 Thread Diez B. Roggisch
Rob Williscroft schrieb: Diez B. Roggisch wrote in news:6tpo16fbacf...@mid.uni-berlin.de in comp.lang.python: 2) create a localhost web server, for the client side manipulation. Then have your remote webserver render a form that posts via javavscript to the localhost webserver. The localhost

Re: Start Python at client side from web app

2009-01-22 Thread Thomas Guettler
Paul Rubin schrieb: > Thomas Guettler writes: >> 1. The user pushes a button in the web app. >> 2. Webserver sends signed python code to the client with own mime type >> 3. IE sends code to the python application. >> 4. Signature gets checked, Python code on the client gets executed. >> 5. Maybe s

Re: Start Python at client side from web app

2009-01-22 Thread Thomas Guettler
Diez B. Roggisch schrieb: > >> 2) create a localhost web server, for the client side manipulation. >> Then have your remote webserver render a form that posts via >> javavscript to the localhost webserver. The localhost server would >> post back in >> the same way. > > AFAIK the JS security mode

Re: Start Python at client side from web app

2009-01-22 Thread Thomas Guettler
Bryan Olson schrieb: > Thomas Guettler wrote: >> Sorry, I described my problem not well. Here is more information: > > Actually you did pretty well. > > [...] >> The main application is the intranet web application used with IE (ms >> windows client). > > Your idea of a custom mime-type, with a

Re: Start Python at client side from web app

2009-01-21 Thread Paul Rubin
Thomas Guettler writes: > 1. The user pushes a button in the web app. > 2. Webserver sends signed python code to the client with own mime type > 3. IE sends code to the python application. > 4. Signature gets checked, Python code on the client gets executed. > 5. Maybe send some data to the server

Re: Start Python at client side from web app

2009-01-21 Thread Bryan Olson
Thomas Guettler wrote: Sorry, I described my problem not well. Here is more information: Actually you did pretty well. [...] The main application is the intranet web application used with IE (ms windows client). Your idea of a custom mime-type, with a browser extension, should work. I don

Re: Start Python at client side from web app

2009-01-21 Thread Rob Williscroft
Diez B. Roggisch wrote in news:6tpo16fbacf...@mid.uni-berlin.de in comp.lang.python: > >> 2) create a localhost web server, for the client side manipulation. >> Then have your remote webserver render a form that posts via >> javavscript to the localhost webserver. The localhost server would >>

Re: Start Python at client side from web app

2009-01-21 Thread Diez B. Roggisch
2) create a localhost web server, for the client side manipulation. Then have your remote webserver render a form that posts via javavscript to the localhost webserver. The localhost server would post back in the same way. AFAIK the JS security model prevents that. Diez -- http://mail.pyth

Re: Start Python at client side from web app

2009-01-21 Thread Rob Williscroft
Thomas Guettler wrote in news:6toehtfbrb8...@mid.individual.net in comp.lang.python: > Sorry, I described my problem not well. Here is more information: > > The main application is the intranet web application used with IE (ms > windows client). But some action needs to be done on the client sin

Re: Start Python at client side from web app

2009-01-21 Thread James Stroud
Thomas Guettler wrote: Sorry, I described my problem not well. Here is more information: The main application is the intranet web application used with IE (ms windows client). But some action needs to be done on the client since you can't do it with html or javascript. 1. The user pushes a bu

Re: Start Python at client side from web app

2009-01-21 Thread Diez B. Roggisch
Thomas Guettler wrote: > Sorry, I described my problem not well. Here is more information: > > The main application is the intranet web application used with IE (ms > windows client). But some action needs to be done on the client since you > can't do it with html or javascript. > > 1. The user

Re: Start Python at client side from web app

2009-01-21 Thread Thomas Guettler
Sorry, I described my problem not well. Here is more information: The main application is the intranet web application used with IE (ms windows client). But some action needs to be done on the client since you can't do it with html or javascript. 1. The user pushes a button in the web app. 2. W

Re: Start Python at client side from web app

2009-01-21 Thread Diez B. Roggisch
James Stroud wrote: > Thomas Guettler wrote: >> Hi, >> >> I want to start Python at the client side from a web application. The >> app is an intranet application, and all client PCs are under our control >> (we can install software on them). >> >> But I don't want to update the installation too

Re: Start Python at client side from web app

2009-01-21 Thread James Stroud
Thomas Guettler wrote: Hi, I want to start Python at the client side from a web application. The app is an intranet application, and all client PCs are under our control (we can install software on them). But I don't want to update the installation too often. Here is my idea: We create a custo

Re: Start Python at client side from web app

2009-01-21 Thread 7stud
On Jan 21, 1:10 am, Thomas Guettler wrote: > Hi, > > I want to start Python at the client side from a web application. The > app is an intranet application, and all client PCs are under our control (we > can install software on them). > > But I don't want to update the installation too often. Here

Re: Start Python at client side from web app

2009-01-21 Thread Paul Rubin
Thomas Guettler writes: > I want to start Python at the client side from a web > application. The app is an intranet application, and all client PCs > are under our control (we can install software on them). Is it supposed to be OS independent? If not, is it for a specific OS? Which one? -- http

Re: Start Python at client side from web app

2009-01-21 Thread Lars Behrens
Thomas Guettler wrote: > But I don't want to update the installation too often. Here is my idea: > > We create a custom mime-type and register it on the client PC. The web > application can send signed python code to the client PC. If the signature > is correct, the code will be executed at the c