Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / June 2006

Tip: Looking for answers? Try searching our database.

How do I make a java applet connect to a remote server not local to a web

Thread view: 
sundar22in@gmail.com - 07 Jun 2006 10:19 GMT
How do I make a java applet connect to a remote server not local to a
web
server?

Is it possible in trusted(i.e signed) applets? If this is true, then
how to do it?

Kindly help

-Sundar
Thomas Hawtin - 07 Jun 2006 13:01 GMT
> How do I make a java applet connect to a remote server not local to a
> web
> server?

The easiest way is to have a proxy forward the connection.

> Is it possible in trusted(i.e signed) applets? If this is true, then
> how to do it?

You could do. However, you should find out how to write a secure applet
first (hint: it's virtually impossible).

Tom Hawtin
Signature

Unemployed English Java programmer
http://jroller.com/page/tackline/

sundar22in@gmail.com - 09 Jun 2006 13:17 GMT
Thank you for the response.
How to create a proxy forward the connection.? Can u help me with a
link???

-Sundar
Thomas Hawtin - 09 Jun 2006 18:27 GMT
> How to create a proxy forward the connection.? Can u help me with a
> link???

Usually you can easily and efficiently set your router up to do it.

For instance on my cheap and old ADSL router, I can log into the
administration pages, click on Port Redirection, click Add and I'm away.

If you want an HTTP proxy and are using Apache, then mod_proxy is the
way to go.

It's quite simple to write a proxy as a small Java program. There are
probably lots of examples out on the web.

Tom Hawtin
Signature

Unemployed English Java programmer
http://jroller.com/page/tackline/

Thomas Hawtin - 09 Jun 2006 19:11 GMT
>> How to create a proxy forward the connection.? Can u help me with a
>> link???
>
> Usually you can easily and efficiently set your router up to do it.

Oh, and if you are on Linux, or some other systems, you can use iptables
(or ipchains or ipfw).

Tom Hawtin
Signature

Unemployed English Java programmer
http://jroller.com/page/tackline/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.