创建一个自动保存计算机文档的网站? [英] Create a website which saves computer documents automatically?

查看:86
本文介绍了创建一个自动保存计算机文档的网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在ASP.NET中创建一个网站,在可下载的网站上自动将所有文档保存在您的计算机上?我怎样才能做到这一点?我听说这对于html或javascript是不可能的。我真的需要这个用于我的项目 - 提前谢谢



我尝试过:



Youtube和google.〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰 〰〰〰〰〰〰〰

Is it possible to create a website in ASP.NET which saves all of your documents on your computer automatically on that website which is downloadable? How can I do this? I have heard that this is not possible for html or javascript. I really need this for my project - thanks in advance

What I have tried:

Youtube and google.〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰

推荐答案

引用:

我听说过这是不可能的html或javascript

I have heard that this is not possible for html or javascript



你听说过。



这是不可能的。出于安全原因,HTML和Javascript无法访问您计算机的硬件。它们是您网站上运行在客户端PC上的唯一代码 - C#,VB,PHP等等都在服务器上运行,甚至可以更少地访问您的计算机!




And you have heard right.

This is not possible. HTML and Javascript have no access to the hardware of your computer for security reasons. And they are the only "code" of your website which runs on the client PC - C#, VB, PHP, etc. all run on the server and have even less access to your computer!

Quote:

我的项目真的需要这个

嗯,坏消息是:你的项目失败了,从一开始。你完全不能这样做。

想一想:如果你能做到,那么恶意网站也是如此。他们可以下载您的整个计算机,浏览器保存的所有电子邮件,密码文件,以节省您必须一直登录,通信,银行对帐单,开发代码,商业敏感材料,一切。他们有足够的证据证明他们是你并清空你的银行账户,或勒索你的pr0n系列......



你不能这样做。

Well, the bad news is: your project is failure, right from the start. You cannot do this at all.
Think about it: if you could do it, so could malicious sites. They could download your entire computer, all the emails, passwords files that browsers keep to save you having to log in all the time, correspondence, bank statements, development code, commercially sensitive material, everything. And they they have enough to prove they are you and empty your bank account, or blackmail over your pr0n collection ...

You cannot do it.


Quote:

是否可以在ASP.NET中创建一个网站,自动将所有文档保存在您的计算机上在该网站上可下载?我怎么能这样做?

Is it possible to create a website in ASP.NET which saves all of your documents on your computer automatically on that website which is downloadable? How can I do this?



不可能,否则,任何网站都可以清空你的所有个人数据,这真的,你真的不想要。

唯一的可能性就是在用户同意的情况下在winapp上安装此功能。


NO it is not possible, otherwise, any site would be able to vacuum all your personal data, and this, you really don't want.
The only possibility is to have this feature on a winapp installed with user consent.


这篇关于创建一个自动保存计算机文档的网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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