Re: Using python from a browser/security hole

2005-04-15 Thread Neil Hodgson
Philippe: > Would Jpython let me do that ? > Would java let me call an external Python script - which in turn would > access my device ? Not without asking for more permissions than accessing the device as being able to execute arbitrary code is very dangerous. Think of this from the point o

Re: Using python from a browser/security hole

2005-04-15 Thread Bengt Richter
On Fri, 15 Apr 2005 09:52:41 -0400, James Carroll <[EMAIL PROTECTED]> wrote: >I don't think Jython will help much here... you would have to embed >jython in your applet which makes it big, which makes it take longer >to download... (or you could install it ahead of time on each client.) > >I asked

Re: Using python from a browser

2005-04-15 Thread Marcus Goldfish
> > I read that IE had the capability to embedd Python scripts, but what > > about the others ? > > While Python can be set up as a scripting language for IE, this is > normally disabled as it could be a security hole. The open call is > available from Python scripts so a web site could read or

Re: Using python from a browser/security hole

2005-04-15 Thread Philippe C. Martin
Thanks Jim, From all I hear, it looks like the client authentication will have tobe made "on the side of the browser", between the server and a specific program running on the client. Not as nice but Regards, Philippe On Friday 15 April 2005 08:52 am, James Carroll wrote: > I don't th

Re: Using python from a browser/security hole

2005-04-15 Thread Philippe C. Martin
I'll take a lok, thanks Roel Schroeven wrote: > Philippe C. Martin wrote: > >> Since I need to access a local/client device from the page and that I >> wish to be cross-platform; does that mean Java is my only way out ? > > Or you could try Jython (http://www.jython.org/). > -- http://mail.p

Re: Using python from a browser/security hole

2005-04-15 Thread James Carroll
I don't think Jython will help much here... you would have to embed jython in your applet which makes it big, which makes it take longer to download... (or you could install it ahead of time on each client.) I asked my friend who did some smartcard authentication at a previous job... and in his ca

Re: Using python from a browser/security hole

2005-04-15 Thread Philippe C. Martin
Neil, Would Jpython let me do that ? Would java let me call an external Python script - which in turn would access my device ? Thanks Philippe Neil Hodgson wrote: > Philippe: > >> Since I need to access a local/client device from the page and >> that I wish to be cross-platform; does that m

Re: Using python from a browser/security hole

2005-04-15 Thread Roel Schroeven
Philippe C. Martin wrote: > Since I need to access a local/client device from the page and that I wish > to be cross-platform; does that mean Java is my only way out ? Or you could try Jython (http://www.jython.org/). -- If I have been able to see further, it was only because I stood on the sho

Re: Using python from a browser

2005-04-15 Thread bruno modulix
Philippe C. Martin wrote: Hi, What do you mean ? Is that a client-side or server-side script ? Client side So I can't help you... Where ? Programming Python - O'Reilly - 2nd edition - by Mark Lutz - Paragraph "Teaching IE about Python" - Pages 922-925 Thanks, I'll have a look one day. -- bruno

Re: Using python from a browser/security hole

2005-04-15 Thread Neil Hodgson
Philippe: > Since I need to access a local/client device from the page and > that I wish to be cross-platform; does that mean Java is my only > way out ? Java is designed to be safe and not allow access to client devices. There is a mechanism where you can attempt to ask for permission from

Re: Using python from a browser/security hole

2005-04-14 Thread Philippe C. Martin
Since I need to access a local/client device from the page and that I wish to be cross-platform; does that mean Java is my only way out ? Regards, Philippe Neil Hodgson wrote: > Philippe: > >> I read that IE had the capability to embedd Python scripts, but what >> about the others ? > >

Re: Using python from a browser

2005-04-14 Thread Neil Hodgson
Philippe: > I read that IE had the capability to embedd Python scripts, but what > about the others ? While Python can be set up as a scripting language for IE, this is normally disabled as it could be a security hole. The open call is available from Python scripts so a web site could read

Re: Using python from a browser

2005-04-14 Thread Do Re Mi chel La Si Do
Hi ! I confirm for IE. Others, I don't know. @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: Using python from a browser

2005-04-14 Thread Philippe C. Martin
Hi, >> What do you mean ? Is that a client-side or server-side script ? Client side >>Where ? Programming Python - O'Reilly - 2nd edition - by Mark Lutz - Paragraph "Teaching IE about Python" - Pages 922-925 Regards, Philippe -- http://mail.python.org/mailman/listinfo/python-list

Re: Using python from a browser

2005-04-14 Thread Bruno Desthuilliers
Philippe C. Martin a écrit : Hi, I have a python script I wish to call from various browsers (IE; Mozilla, Firefox ..) on Windows & Linux. What do you mean ? Is that a client-side or server-side script ? I read that IE had the capability to embedd Python scripts, Where ? -- http://mail.python.o

Using python from a browser

2005-04-14 Thread Philippe C. Martin
Hi, I have a python script I wish to call from various browsers (IE; Mozilla, Firefox ..) on Windows & Linux. I read that IE had the capability to embedd Python scripts, but what about the others ? Regards, Philippe -- * Philippe C. Martin SnakeCard, L