Introduce DataBase,Asp.net,JavaScript,Xml,Html,Css,Sql,Php,ASP.NET Controls,AJAX,Tools,HTML,CSS,JavaScript,Open Source Project,WPF,.Net Framework,Linq
Top Recommended Hosting

Calculating IPs from CIDR

by the3factory 4/27/2008 7:22:00 PM
Question:

Hi,

I'm publishing a webservice and I need to stop certain IPs from submitting data.  In this particular case I can't do it at the firewall for a number of reasons.  Individual IPs are working fine but I now need to support CIDR notation and validate if the sending IP is within a /27 range.  Does anyone know how this could be achieved in .net?

 

Many Thanks
Richard

 


Related posts

Sign up for PayPal and start accepting credit card payments instantly.


Powered by BlogEngine.NET 1.2.0.0