浏览器应用程序本地文件系统访问 [英] Browser application & local file system access
问题描述
我想使用能够管理本地文件和文件夹的功能来增强基于浏览器的 Web 应用程序.例如.文件夹树结构应通过 HTTP(S) 在本地工作站和服务器之间同步.
I want to enhance my browser-based web application with functionality that enables management of local files and folders. E.g. folder tree structures should be synchronized between local workstation and server via HTTP(S).
我知道基于浏览器的应用程序中存在与安全相关的限制.但是,有一些技术可以解决"这些问题:
I am aware of security-related limitations in browser-based applications. However, there are some techniques that "work around" these issues:
- 签名的 Java 小程序(完全信任)
- .NET Windows 窗体浏览器控件(不是开玩笑,确实有效.只是配置太糟糕了)
- ActiveX
我的问题是:您使用/建议什么技术和实施实践?关键要求是安装过程尽可能简单.
My question is: What do you use/suggest, both technology and implementation practice? Key requirement is that the installation process is as simple as possible.
感谢您的意见!
推荐答案
Google Gears.
Google Gears.
它使您可以编写具有比普通浏览器更大平台支持的 Javascript 应用程序,并且可以断开连接"本地文件访问、缓存和数据库.如果/当连接时,它会同步到中央服务器.
it lets you write Javascript applications with a much bigger platform support than the usual browser, and go 'unconnected' with local file access, cache and DB. and if/when connected it syncs to the central server.
适用于所有平台上的多种浏览器;但仍在剧烈进化中.
available for several browsers on all platforms; but still under heavy evolution.
这篇关于浏览器应用程序本地文件系统访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!