防火墙例外列表 [英] Firewall Exception List

查看:200
本文介绍了防火墙例外列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在XP SP2上,可以通过注册表以编程方式为应用程序添加例外.当涉及到部署和组策略时,这也带来了一些便利.

在XP上,这是通过
完成的

  • HKEY_LOCAL_MACHINE \ SOFTWARE \ Policies \ Microsoft \ WindowsFirewall
    \ DomainProfile \ AuthorizedApplications \ List

    On XP SP2, it is possible to add an exception for an application programmatically via registry. This also brings some easiness when deployment and group  policy is concerned.

    On XP, it is done via

    • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall
      \DomainProfile \AuthorizedApplications\List

      HKEY_LOCAL_MACHINE \ SOFTWARE \ Policies \ Microsoft \ WindowsFirewall
      \ StandardProfile \ AuthorizedApplications \ List

      HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall
      \StandardProfile \AuthorizedApplications\List

      推荐答案

      有一个COM接口要执行的操作:

      http://msdn.microsoft.com/zh-cn/library/aa366415(VS.85).aspx

      您可能应该坚持记录在案的接口如果可能.如果您使用的是XP,那么您的方法仍可在Vista上使用.
      There's a COM interface for what you want to do:

      http://msdn.microsoft.com/en-us/library/aa366415(VS.85).aspx

      You probably should stick to documented interfaces when possible.  If you had in the XP timeframe, your method would still work on Vista.


      这篇关于防火墙例外列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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