Hello!
My understanding that you can get only what you allowed to
get as an applet.
Check this:
http://java.sun.com/docs/books/tutorial/security1.2/tour1/step2.html
Try this:
grant codeBase "file:D:${file.separator}-"
{
permission java.io.FilePermission "<<ALL FILES>>", "read, write, delete";
};
where D: is your drive.
Good luck!
--
On Thu, 20 Sep 2001 10:52:11
Steve Simons wrote:
>I seem to have narrowed down the problem to my configuration file.
>
>If I attempt to set my output log file using some java property, i.e.
>log4j.appender.fileout.File=${java.io.tmpdir}/logfile.log
>Then I get the problem.
>
>(fileout is a RollingFileAppender)
>
>However, if I set the full path for the output log file:
>log4j.appender.fileout.File=c:\\TEMP\\logfile.log
>Then I do not get the problem.
>
>Do I need to set something in my policy file to allow my applet to retrieve
>the java properties?
>
>Further, if I use the following policy file:
>grant {
> permission java.io.FilePermission "<<ALL FILES>>", "read, write, delete,
>execute";
> permission java.security.AllPermission;
>};
>Then I do not get the problem at all. However this is not acceptable as it
>obviously lacks any securtiy restrictions.
>
>More ideas most gratefully received.
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
Make a difference, help support the relief efforts in the U.S.
http://clubs.lycos.com/live/events/september11.asp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]