如何防止任何用户将任何文件从本地系统上传到互联网 [英] How to prevent any user to upload any file from local system to internet

查看:96
本文介绍了如何防止任何用户将任何文件从本地系统上传到互联网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

为了维护信息安全,我只是想阻止我的域用户将任何文件上传到互联网。

或者我想显示一条警告信息当他们点击任何打开选择文件对话框的按钮时给他们。



明白吗?如果没有,那么没问题...

例如



我点击了在任何浏览器中打开的网页上的按钮(让我们假设Google Chrome),然后将显示OpenFileDialog。现在在显示OpenFileDialog之前,我想显示一条消息你为什么要上传文件?(我将使用C#Winform)。





我做了什么?

我已经阻止了很多在线数据存储网站,但我不希望任何网站允许用户在没有提醒和备注的情况下上传任何内容。< br $> b $ b

我的尝试:



我做了什么?

我已经从服务器上阻止了很多在线数据存储站点,但我不希望任何网站让用户上传任何没有提醒和备注的内容。



欢迎任何想法,技巧或提示或链接。

感谢你!

Hi!
To maintain the Information security, i just wants to prevent my domain users to upload any file to internet.
Or I want to show an alert message to them when they clicked any button that open choose file dialog.

Understand? If not, then No Problem...
For example

I have clicked a button on webpage opened in any browser (Let's assume Google Chrome), Then OpenFileDialog will be shown. Now Before Showing "OpenFileDialog" i want to show a message "Why do you want to upload file?"(I'll use C# Winform for this).


What i have done?
I have blocked a lot of online data storage sites but i don't want any website to let user upload anything without an alert and remark.

What I have tried:

What i have done?
I have blocked a lot of online data storage sites from server but i don't want any website to let user upload anything without an alert and remark.

Any Ideas, Tricks or Tips or Links are welcomed.
Thanking you!

推荐答案

你不能在实践中这样做,当然也不能作为C#程序的一部分。

即使你可以,但是当水已经倾泻在水面上时,它会在水池中伸出手指: windows - 是否有任何浏览器或方法来阻止上传? - 超级用户 [ ^ ]
You can't do it in practice, and certainly not as part of a C# program.
And even if you could, it's sticking your finger in the dyke while the water is already pouring over the top: windows - Is there any browser or method to prevent uploading? - Super User[^]


我认为没有可以涵盖所有案例的解决方案。



常见的解决方案是在本地网络中的系统上设置HTTP代理服务器,并确保所有客户端都使用它而不是直接访问Internet(例如,通过Internet网关/路由器上的策略或重定向)。然后配置代理以阻止传出的八位字节流。



但是,这些限制可以被规避,并可能产生不必要的副作用(阻止通缉的流量)。
I think there will be no solution that can cover all cases.

A common solution is setting up a HTTP proxy server on a system in your local net and ensure that all clients use it instead of direct internet access (e.g. by policies or redirection on the internet gateway / router). Then configure the proxy to block outgoing octet streams.

However, such restrictions can be circumvented and may have unwanted side effects (blocking wanted traffic).


这篇关于如何防止任何用户将任何文件从本地系统上传到互联网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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