Cafe Management System Block下载像exe这样的文件 [英] Cafe Management System Block downloading file like exe

查看:95
本文介绍了Cafe Management System Block下载像exe这样的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个咖啡馆管理系统,当咖啡馆用户可以通过Internet下载文件时,我想禁用该功能...有没有办法使用C#实现此功能?并且不使用任何第三方应用程序?

Im developing a cafe management system and i want to disable the feature when cafe user can download file via internet... is there a way to achieve this using c#? and without using any third party application?

推荐答案

您可以通过设置
值[1803]到3
的键
[HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet设置\ Zones \ 3]

这适用于Internet Explorer.如果您需要针对其他浏览器执行此操作,则可能必须执行他们的CallCallMeMrJames所说的
You can do this by setting the
value [1803] to 3
of the key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]

this works for internet explorer. if you need to do this for other browsers then you might have to do what TheyCallMeMrJames said


我不认为c#是解决问题的方法,您可能是最好的使用本机代码,因为您需要在"计算机上的Web浏览器下.您将需要处于TCP/IP级别并通过网络过滤位...最低限度地查看请求标头和响应类型.

这并不是不可能实现的,只是您在复杂的组合中添加了不使用任何第三方应用程序".

您可以获得具有网络配置界面的受管路由器,该路由器可以阻止端口,限制时间,收集付款,限制带宽并阻止成人内容,而价格低于
I don''t think c# is the way to go here, you''d likely be best in native code as you''d need to get ''under'' the web browser on the computer. You would need to be at the TCP/IP level and filtering the bits across the wire...minimally looking at request headers and response types.

It''s not that this is impossible to achieve, it''s just that you''ve added "without using any third party application" to the mix that complicates things.

You can get a managed router with web-configured interface that blocks ports, limits time, collects payments, throttles bandwidth and blocks adult content for less than


800.您还可以获取代理软件(可能具有类似的控件),该软件可以设置各种规则.

在您的项目中祝您好运.

干杯.
800. You can also get proxy software (possibly with similar controls) that lets you set up all kinds of rules.

Good luck in your project.

Cheers.


这篇关于Cafe Management System Block下载像exe这样的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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