Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #26503

Re: Signed Java applet with correct manifest cannot write to home directory

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Robert Klemme <shortcutter@googlemail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Signed Java applet with correct manifest cannot write to home directory
Date Thu, 14 Nov 2013 20:02:21 +0100
Lines 34
Message-ID <bekl28FsbueU1@mid.individual.net> (permalink)
References <l5vjjf$b26$1@news2.informatik.uni-stuttgart.de>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net fRNl/NPsRdp6U8RcJ7/2CQoiPp9kL3trens9VmxIlWHdYk4sw=
Cancel-Lock sha1:BRzWivWWklhW/3doYmVLQjVqLYs=
User-Agent Mozilla/5.0 (Windows NT 6.0; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
In-Reply-To <l5vjjf$b26$1@news2.informatik.uni-stuttgart.de>
X-Antivirus avast! (VPS 131114-0, 14.11.2013), Outbound message
X-Antivirus-Status Clean
Xref csiph.com comp.lang.java.programmer:26503

Show key headers only | View raw


On 13.11.2013 11:17, Thomas Richter wrote:

> When I run this applet from firefox, windows or linux, everything is
> fine. The user gets a warning that the applet will or might write to
> local files, though the warning states that the certificate is correct,
> and states its origin correctly. All fine.
>
> However, if I run the same applet from Safari, I *also* get the warning,
> the applet runs, but saving solutions requiring write access to the
> local home directory does *not* work. The system creates a "permission
> denied" error. I do not get any warning or error messages on the java
> console, and all I see when starting the applet is the typical warning
> that this is an applet requiring full access to the desktop.
>
> Strangely enough, if I run the same applet from firefox, on the same
> machine (an Apple under MacOs), everything works perfectly.
>
> Any ideas what might be missing to get this working?

Just today a colleague told me something similar.  The solution was that 
there needed to be done some additional settings to the sandboxing of 
either Java or Safari to allow the JRE to break out of the sandbox. 
Since I am not a Mac user I don't have more details but maybe that gets 
you started looking in the right places.

Kind regards

	robert



-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Signed Java applet with correct manifest cannot write to home directory Thomas Richter <thor@math.tu-berlin.de> - 2013-11-13 11:17 +0100
  Re: Signed Java applet with correct manifest cannot write to home directory Robert Klemme <shortcutter@googlemail.com> - 2013-11-14 20:02 +0100

csiph-web