Java Applets cannot connect to the same host they were loaded from.  They run 
on the client machine as a local program.  I know this because I attempted to 
run an applet and have it connect to a mysql server the lived on the web 
server.  It couldn't connect using localhost as the domain name of the 
server. ( Which due to security settings was the only URL I could connect 
from.)

I could be wrong here, but all I know is from experience.  After experimenting 
I came to this conclusion.

>Am I? I thought that applets were allowed to connect to the same host they 
were loaded from. Which is what I'm trying to do.
>
>Nice site BTW, useful for a few other things I'm working on, thanks.
>
>Tom

>On Sat, May 22, 2004 at 07:46:21AM +0600, raditha dissanayake wrote:
> Tom Playford wrote:
> 
> >That was my original plan. The problem is that if someone works out 
> >the commands needed to
> >communicate with the php control page, they will be able to bypass the 
> >Java access control systems.
> >I suppose I could use https, but does that encrypt the url and post data?
> >
> I think you have found yourself trapped in the java applet sandbox. You 
> need to create a signed applet. see 
> http://www.radinks.com/java/sandbox/  for a brief guide.
> 
> all the best
> 
> -- 
> Raditha Dissanayake.
> ---------------------------------------------
> http://www.raditha.com/megaupload/upload.php
> Sneak past the PHP file upload limits.
> 
-- 
Ben Ford
Bio-Logic Aqua Technologies
5001 Lower River Rd
Grants Pass, OR 97526

800-FOR-MIST (367-6478)
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to