# How to provide file permission to all file under a directory

Shang-cheng Chyou (shangc@turbocase.com)
Tue, 24 Aug 1999 15:56:44 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: faro: "provider(urgent!!)"
- Previous message: Craig Smith: "JSSE API query"

    Date: Tue, 24 Aug 1999 15:56:44 -0700

    From: Shang-cheng Chyou <shangc@turbocase.com>

    To: java-security@java.sun.com

    Subject: How to provide file permission to all file under a directory

To who it may concern:

I like to provide an applet the ability to do local file access within a
fixed directory in Java 2. Is there a way to do it? Now I have either
to give permission to <<ALL FILES>> or sepcify permissions for all files
in the policy file. What is worse that the applet cannot prodict what
files to write or read from the directory. It may need to create
subdirectories in the directory also (this seems impossible to do
because it need to find out if the subdirectory exists before making a
directory, which raise an exception).

The documentation of the policy specification is scarce to say the
least.

Your help is greatly appreciated.

Shang

- Next message: faro: "provider(urgent!!)"
- Previous message: Craig Smith: "JSSE API query"