Date: Wed, 19 May 1999 18:50:32 -0700
From: Chandrakant Yempalara <chandry@running-start.com>
To: java-security@java.sun.com
Subject: Listing Files
Hi,
I was implementing one of the applet for Selecting files in the Client's
Machine.
Here I have a suggestion.
We have a tag in HTML for selecting files
<Input type = "File"> in a "form" for uploading files.
What this tag does is show up the window for selecting a file and this
file path and name is sent back to the server which uploads the file. So
if there is no security violation using this type of mechanism (using
HTML), then I think there should problem with applet listing these
files.
Yes, applet can do lot more if it is allowed to select a file. So why
can't we seperate this type of mechanism so that when we want to do just
have a mechanism so that applet can do just a file selection and nothing
else like the input type tag in the HTML.
The idea is to seperate those things (like showing the user files and
just selecting them for uploading them.) which do not cause problems to
the user and not to allow applet to do anything other than that with
the files. Of course the file uploading can be done only when the user
accepts.
Thanks
Chandrakant Yemaparala
Software Enginner Intern
Running Start Inc,
www.running-start.com
Tucson, Arizona.