Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

June 27, 2004 12:00 AM

Firewall Permissions Code for XP SP2

Windows IT Pro
InstantDoc ID #43096
Rating: (1)

Mitch Denny has written some sample code that lets developers  more easily interact with the new firewall design that is part of Windows XP Service Pack 2 (SP2). Denny said that his code, FirewallPermission, "is a custom permission and associated declaritive security attribute which uses the Windows Firewall COM interfaces to check whether a program has inbound access on a port enabled."

Tony Goodhew, a Microsoft employee who works with the XP SP2 team, explained that Denny's code is basically the creation of custom attributes that can be used by an application to tell the firewall to open a given port number or to authorize an application for access through the firewall. Goodhew added that Denny's code simplifies working with the new firewall design.

Denny's code was written with Microsoft Visual Studio .NET. He said that if there is interest in the code then he will add to it by extending its capabilities for more fine-grained control over the firewall access permissions. Interested developers can download a copy at Denny's Web site.

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Aug 10, 2005

    Dear friend , i am vb.net programmer ,the application with i download , its in c#.pls kindly send me vb.net version. my email is mohd_shams@hotmail.com .
    thanks and best regards.
    "Firewall Permissions Code for XP SP2"

  • Paul
    8 years ago
    Jun 27, 2004

    Before I start, I have to say that I have only read the article, not examined the code itself.

    However, surely the whole point of a true firewall is that it requires the USER to authenticate the program. From what I can tell from the description of this code, it allows an application to bypass that layer of security by authenticating *itself* (and/or *other* applications) to open a port through the firewall. This sounds to me like a hacker/spyware writer's dream!!

    Paul.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.