简体   繁体   中英

Accessing Local file from a browser?

Hi I want to access a local file of my system from the browser? Is there anyway through which it can be achieved as there are lot of security checks invloved? or any other work arround using ActiveX or Java Applet???? Please help me out..

JavaScript无法使用,但是您可以使用Flash,ActiveX或签名的Java小程序。

To access a local file through your browser, you can use a signed Java Applet. Through JFileChooser you can ask the user for a file, and if the applet is signed and you have configured properly the security of your applet, this will work.

Here is the sun page on signing an applet.

从6u10开始,未签名的Java applet可以使用JNLP服务API通过文件选择器加载和保存文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM