On Tue, 19 Oct 1999 19:49:28 +0000, Frank Lümkemann wrote:
><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>I want to access image files contained in a directory, and I would like
>to scan the whole directory. When I use the appletviewer, the following
>code gives me a list of the files in the dir, but not with Netscape. I
>think the security manager throws an exception, but how can I access a
>directory from an applet then?
Local resources like the hard drive are not accessable from applets
without first having the applet be signed and then having it ask for
access rights and having the user grant them.
Now, you can scan the directory on your server via HTTP (or other
protocols your server may support) but you can only get back to
your own server this way (or at least you should only be able to get
back to your own server - that is part of the security)
--
Michael Sinz ---- Technology and Engineering Director/Consultant
"Starting Startups" mailto:[EMAIL PROTECTED]
My place on the web ---> http://www.users.fast.net/~michael_sinz
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]