Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


June 27, 2004

Firewall Permissions Code for XP SP2

RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

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.

End of Article



Reader Comments
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.

Paul June 27, 2004


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"



Anonymous User August 10, 2005 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
What You Need to Know About Microsoft's x64 Server Product Plans

What do Longhorn Server, Windows Compute Cluster Server, and Windows Vista have in common? The x64 platform. ...

WinInfo Short Takes: 4th of July Special Edition

An often irreverent look at some of the week's other news, including a shortened work week thanks to the 4th of July, expensive Windows 7 pricing, Bing's modest monthly gains, IE 8 heading to work, Steve Jobs back at Apple, and so much more ...

Social War Dialing - The New Identity Theft Menace

A new method of stealing personal financial information uses VOIP to attack bank customer over the phone. ...


Security Whitepapers Sustainable Compliance: How to reconnect compliance, security and business goals

The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Related Events WinConnections and Microsoft® Exchange Connections

DevConnections, Microsoft® ASP.NET Connections, SharePoint Connections and SQL Server Connections

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format

Test Drive IT Solutions and Get Free Music Downloads
Solve your toughest IT problems with these free downloads and receive 5 free music downloads!


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home asp.netPRO Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement | Reprints and Licensing