Java Applet sandboxed in Safari?

倖福魔咒の 提交于 2019-12-07 20:15:05

问题


Ever since upgrading to Mavericks an Applet we have at work has stopped being able to browse for files if used from Safari, still works on Firefox. The Applet handles upload of files so you can imagine how that might be a problem.

When using it from Safari I see the following messages on the OSX console.

11/5/13 10:27:46.000 AM kernel[0]: Sandbox: java(87926) deny file-read-data /Users/username

Is there some way to fix this or will Applets just not be able to browse the file system on Safari ever again?

Thank you.


回答1:


In OSX 10.9/Safari7 plugins are running in sandboxes. These settings are applied on top of Java/Flash/other plugins own security model.

You can manage sandbox security settings on plugin-site basis through Safari preferences / Security tab / Internet plugins.

To allow Java plugin access filesystem outside of sandbox select Unsafe mode.



来源:https://stackoverflow.com/questions/19793972/java-applet-sandboxed-in-safari

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!