Alternative to Java Applet for File System Access

2019-02-22 03:59发布

I'd like to integrate a application into a web site which allows user to manipulate files on their local machine via the web browser.

Flash and Silverlight run at with low permissions and no file system access.

Are there alternatives to using a java applet?

3条回答
不美不萌又怎样
2楼-- · 2019-02-22 04:07

You could use Java Web Start or if you could get away with a desktop app, use Adobe Air.

查看更多
可以哭但决不认输i
3楼-- · 2019-02-22 04:23

You could use an ActiveX control but it will run only on IE.

查看更多
看我几分像从前
4楼-- · 2019-02-22 04:24

I am no expert on Java Web Start but I have used JWS deployment on a project in a similar way. Given that the application is signed and JNLP file grants full access, you should be able to access local files. It is worth noting that in JWS deployment the application is not sandboxed within the browser, the permissions are set via a JNLP file. For further read you should check out the JWS tutorial at Oracle.

查看更多
登录 后发表回答