寻找网站监控客户端文件的方法 [英] Looking for a way for a website to monitor a file on client side

查看:95
本文介绍了寻找网站监控客户端文件的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个网站,该网站基本上可以处理数据文件中的数字并显示统计信息. 这些数据文件位于客户端硬盘驱动器上,客户端可以通过HTML上传功能将其上传到服务器. 但是,这需要用户手动上传文件以更新网站上的统计信息.

I am developing a website which basically crunches numbers from data files and display statistics. These data files are on the client hard drive and the client can upload them to the server via the HTML upload functionality. This however requires the user to manually upload the files to update the statistics on the website.

我想知道网站是否有可能在这些文件更改时自动上传这些文件.我可以通过跳过用户操作来看到安全漏洞,但是用户是否可以通过某种方式与网站共享其驱动器中的特定目录? 我正在寻找一种非常轻巧且易于配置的东西,因为用户不应该具有任何IT知识.

I would like to know if there is a possibility for the website to automatically upload these files when they change. I can see the gapping security hole with skipping the user action, but is there a way for an user to share a specific directory from his drive with a website ? I am looking for something very lightweight and easy to configure as the user is not supposed to have any IT knowledge.

我正在使用Play!框架,并且用户可以在具有任何浏览器的任何OS上.

I am using Play! framework and the user can be on any OS with any browser.

推荐答案

正如您所说的那样,出于安全原因,无法从网站上进行此操作.自动共享文件夹的服务(例如Dropbox)通过安装客户端的真实"应用程序来实现.我认为大多数用户仍然从他们的角度考虑这种轻量级",尽管这意味着您需要进行更多的开发工作.它还不需要大量的IT知识.

As you are saying yourself, there is no way to do this from a website for security reasons. Services that automatically share folders like, e.g, Dropbox does, do so by installing "real" applications client-side. I'd assume most users still consider this "lightweight" from their perspective, although it means more development work on your end. It also does not require significant IT knowledge.

这篇关于寻找网站监控客户端文件的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆