如何在客户端机器上创建目录? [英] how to create directory on client machine?

查看:71
本文介绍了如何在客户端机器上创建目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想在客户端创建目录,如何在客户端机器上创建目录?



可以java applet帮忙吗?

Hi All,
I want to create directory at client, how can i create directory on client machine?

Can java applet help here?

推荐答案

你需要理解这个概念。

想想



您浏览某个网站,然后在您不知情的情况下,它会在您的系统中创建一个文件夹/目录并对其进行一些操作(在其中存储任何恶意软件病毒)。然后它可以对你的系统用这些存储的文件做任何事情,你无法控制它。

为什么会这样?



如果这是可能的,那就是黑客攻击。这就是为什么,这是不可能的。浏览器的安全功能不允许您对客户端的文件系统执行任何操作。否则每个人都会害怕访问网站。

那么,现在该怎么办?



简单地说,不要这样做。 :)
You need to understand the concept.

Think


You browse some website, then without your knowledge it creates a Folder/Directory in your system and do some operations on it (store any Malware or Virus in it). It can then do anything to your system with those stored files, you don't have any control over it.

Why this happens?


If this is possible, then it is hack. That's why, it is not possible. Browser's security feature don't allow you to do anything to the Client's File System. Otherwise everybody will scare to visit websites.

So, what to do now?


Simply, don't do this. :)


由于安全/权限,无法访问客户端计算机驱动器,因此无法执行此操作。
You wont be able to do that as the Client Machine Drive cant be accessed due to Security/Permissions.


您可以参考此< br $> b $ b

createdirectory-on-remote-machine [ ^ ]


这篇关于如何在客户端机器上创建目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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