限制从Internet上传和下载文件 [英] Restrict file upload and download from internet

查看:81
本文介绍了限制从Internet上传和下载文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



实际上,我想限制从Internet下载和上传文件.它们可以访问Internet,但它们不会从Internet下载和上传文件.使用C#Windows Forms.请帮助我.

[edit]已删除呼喊声-OriginalGriff [/edit]

Hi,

Actually i want to restrict files downloading and uploading from the internet.they can access the internet but they won''t download and upload from the internet. using c# windows forms.please help me.

[edit]SHOUTING removed - OriginalGriff[/edit]

推荐答案

这有点令人困惑.如果您创建防火墙或http代理,则可以过滤流量.实际上,找到一个开箱即用的解决方案要比亲自编写它容易得多.在提出问题时,很明显,您对网络的知识严重不足.我不建议您开始编写如此复杂的代码.

如果您使用互联网"来表示网络,则可以使用WebBrowser组件,并对其进行微调以使其成为受限制的浏览器.但是您必须禁用所有其他浏览器的使用.您可以从此处开始: C#中的Web浏览器 [
This is a little bit confusing. You can filter traffic if you make a firewall, or a http proxy. Actually it is far more easier to find an out-of-the-box solution, than writing it for yourself. As you formulated your question it is clear that you have serious lack of knowledge regarding networking. I don''t advice you to start coding such a complex thing.

If you mean the web by "internet", than you can use WebBrowser component, and fine-tune it to make a restricted browser. But you have to disable the usage of all other browsers. You can start from here: Web Browser in C#[^]. This is also not an easy task, because you have to deal with several things to get a working browser after all.


亲爱的佐尔坦,
您能帮我吗,我是一个开始的初学者.如何启动此
Dear Zoltan,
Can you help me i am a beginer to start.how to start this


这篇关于限制从Internet上传和下载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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