Skip to Main Content

Applet Security and Web Servers

843807Sep 17 2002 — edited Sep 25 2002

I know that applets cannot read or write to the client's file system and cannot communicate with any network server other than the server from where the applet code is served.

My question is that given these security measures, is it possible to have an applet read the contents of a directory on the web server, and display this list of files in a browser window on a client machine?

I am doing this is Java 1.1 (so my users won't have to use the Java plug-in).

I don't think this should be a big deal, since the web server is where the Java code origianlly exists, and applets are not restricted from commimicating with their web servers.


Steve Cromer

Post Details
Added on Sep 17 2002