防火墙例外列表 [英] Firewall Exception List
问题描述
在XP SP2上,可以通过注册表以编程方式为应用程序添加例外.当涉及到部署和组策略时,这也带来了一些便利.
在XP上,这是通过
完成的
-
HKEY_LOCAL_MACHINE \ SOFTWARE \ Policies \ Microsoft \ WindowsFirewall
\ DomainProfile \ AuthorizedApplications \ ListOn 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\ListHKEY_LOCAL_MACHINE \ SOFTWARE \ Policies \ Microsoft \ WindowsFirewall
\ StandardProfile \ AuthorizedApplications \ ListHKEY_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屋!
-