在安装过程中如何向应用程序添加防火墙权限? [英] How do you add firewall permission to an app during installation?

查看:202
本文介绍了在安装过程中如何向应用程序添加防火墙权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说您可以在安装过程中为您的应用程序添加一个例外,以授予其通过防火墙访问Internet的权限.

有人知道该怎么做吗?

解决方案

在许多情况下,替代方法是建议用户完全禁用防火墙,或者在服务器端口开始运行Windows时提示 ok 听.两者都是不好的选择:一种风险是使机器对任何事物都敞开,另一种风险则是训练它们未经批判地批准安全提示.

您可以轻松地将应用程序添加和删除,作为防火墙例外.他们甚至可以禁用/启用防火墙,这是一个非常糟糕的主意.但是在安装/卸载操作中添加和删除异常通常是一个更好的主意.

Microsoft描述该过程的一个地方是 Windows防火墙游戏开发人员.

如果您的安全性太差,则仅依靠软件防火墙来提供保护,就可以始终在防火墙上设置无例外"模式.当然,这会将您的用户减少到广播电视接收等互联网服务的被动消费者上.

I've heard that you can, during installation, add an exception for your app to give permission for it to access the internet through the firewall.

Anyone know how to do this?

解决方案

The alternative in many cases is to suggest that users disable the firewall entirely or ok the prompt Windows raises when your server ports begin to listen. Both of these are bad options: one risks leaving the machine open to anything and the other trains them to approve security prompts uncritically.

You could easily have your applications add and remove themselves as firewall exceptions. They could even disable/enable the firewall, a really bad idea. But it's usually a better idea to add and remove exceptions as part of install/uninstall operations.

One place where Microsoft describes the process is Windows Firewall for Game Developers.

If your security is so poor you rely on a software firewall alone for protection you can always set "no exceptions" mode on the firewall. Of course this reduces your users to passive consumers of Internet services, à la broadcast television reception.

这篇关于在安装过程中如何向应用程序添加防火墙权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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