"Greenhalgh David" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All,
>
> I have a script which, amazingly, is doing exactly what it is supposed
> to do. It is taking user input, processing it and, over several
> iterations of the script, building a text file on the server. The text
> file itself is used as the input to a Java applet.
>
> All works fine on my local machine, but on the remote server the applet
> bombs out with a file permission error. How do I set the permissions on
> an output file, and what permissions should I use to ensure that a text
> file stored on the server (in a different directory to the script) can
> be properly used by the applet? (664 works fine on the local machine,
> the remote server is perfectly happy about me setting permission, but
> refuses to tell me what they are when I ask, I've given up being
> surprised by it...)

You have left out some details, but from what I read above, this is not a
perl issue.

To clarify, you have a perl script that creates a text file. You then open a
browser that downloads a Java applet from a remote server. You want this
applet to read the local file. Correct?

If so, then everything is working as expected. Because the browser downloads
the applet from a remote server, the applet is not "trusted" by the client
machine and the security mechanism disables disk IO for that applet
instance. It works when you run it locally because the browser trusts
applets that originate on the local machine.

You have 3 options:

1. Sign the applet with a signature issued by a CA.

2. Become your own CA, sign the applet, and register your CA with the client
browser.

3. lower or disable the security settings in the client browser.

Again, your problem is not related to perl, so you could get more ( better )
information in the proper forum.

Todd W.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to