以编程方式将规则添加到 AVG Firewall
我使用 AVG,并注意到在安装需要互联网访问的程序时,它们经常会向 AVG 的防火墙添加“受信任的规则”,从而赋予它们适当的互联网访问权限。有谁知道这是如何实现的?
I use AVG and have noticed when installing programs requiring internet access they frequently appear to add a 'Trusted Rule' to AVG's firewall giving them appropriate internet access rights. Does anyone have any idea how this is achieved?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在安装过程(MSI、Wise 或其他)中使用
FirewallInstallHelper.dll
来更改防火墙规则。请注意,大多数防火墙软件仍然需要用户的许可。这就是我们使用的: http://msdn.microsoft.com/en-us/library/windows/desktop/ee417690(v=vs.85).aspx#Integrating_into_Windows_Installer
You could use the
FirewallInstallHelper.dll
in a installation process (MSI, Wise, or other) to change firewall rules. Just notice that most firewall software still ask permission from the user.This is what we used: http://msdn.microsoft.com/en-us/library/windows/desktop/ee417690(v=vs.85).aspx#Integrating_into_Windows_Installer
等了几周后,AVG 支持终于回复了我。您需要向他们发送您的程序(或至少一个链接),以便他们“测试”它。如果正常,他们会将其添加到受信任的程序数据库中。
Having waited a couple of weeks, AVG Support did finally get back to me. You need to send them your program (or at least a link) for them to 'test' it. If OK, they will then add it to their Trusted Programs database.