PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

Controling Windows Vista firewall programmatically

 
 
Ragid
Guest
Posts: n/a
 
      19th May 2009
Can I control Windows Vista firewall programmatically, using the api as I
would do with Windows XP?
Does Windows 7 support it?
Regards
Ragid


 
Reply With Quote
 
 
 
 
Andrew McLaren
Guest
Posts: n/a
 
      20th May 2009
"Ragid" <(E-Mail Removed)> wrote...
> Can I control Windows Vista firewall programmatically, using the api as I
> would do with Windows XP?
> Does Windows 7 support it?


In Windows Vista, you'll want to use the API for "Windows Firewall with
Advanced Security". See -

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

Cheers

Andrew
--
amclar at optusnet dot com dot au

 
Reply With Quote
 
Ragid
Guest
Posts: n/a
 
      20th May 2009
Thanks,
Since the msdn is not so clear I'll ask more specifically-
1. Does the "Advanced Security" version fully support the older one?
2. What about Windows 7, and my question regarding backward compatability?
Regards
Ragid
> In Windows Vista, you'll want to use the API for "Windows Firewall with
> Advanced Security". See -
>
> http://msdn.microsoft.com/en-us/library/aa366418(VS.85).aspx
>
> Cheers
>
> Andrew
> --
> amclar at optusnet dot com dot au
>



 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a
 
      21st May 2009
"Ragid" <(E-Mail Removed)> wrote ...

> Since the msdn is not so clear I'll ask more specifically-
> 1. Does the "Advanced Security" version fully support the older one?


The "Windows Firewall" API works with XP SP2 and Vista. The "Windows
Firewall with Advanced Security" API only runs on Vista, however it is much
more powerful and flexible.

You cannot control the XP firewall using the newer ""Windows Firewall with
Advanced Security" API.

If you look on Codeproject.com, I think you'll find some sample Firewall
code.

> 2. What about Windows 7, and my question regarding backward compatability?


You can read this whitepaper from Microsoft for changes in Windows 7
Firewall APIs -
http://go.microsoft.com/fwlink/?LinkId=140050

Basically Win7 provides a superset of Vista APIs. Note "WFP" == "Windows
Filtering Platform", the underlying technology behind the Windows Firewall
with Advanced Security.

The Windows 7 Forums on MSDN are the best place for Win7 programming
information.

Hope it helps,
Andrew

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista, Windows Firewall, Windows Defender, UAC, Avast - is this fairly secure, or is anything else needed? Advice appreciated. Tuttle Windows Vista General Discussion 9 18th Jul 2008 04:55 PM
after windows firewall putting off on windows vista unable to access network and unable to on windows firewall Gurbatullah Khan Windows Vista Security 3 12th Mar 2008 03:59 PM
Windows vista Firewall SDK =?Utf-8?B?U2FudG9zaA==?= Windows Vista Security 1 19th May 2007 04:49 AM
programmatically (or otherwise) controling/editing the "Select Names" dialog box Conan Kelly Microsoft Outlook Form Programming 1 2nd Sep 2006 01:01 AM
Programmatically Configuring the Windows XP Firewall =?Utf-8?B?SkpK?= Windows XP Security 1 16th Feb 2006 03:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:58 AM.