473,396 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Detecting intranet ip's

hi,
We are trying to figure out a way of detecting any incoming http request, to
our ASP.NET 2.0 application, if it is coming from our internal network
(intranet) vs from outside of our network(internet). We can get the client
machine's ip from the http request, but is there any way of validating if the
ip is a intranet ip vs. an internet ip? Our intranet is pretty large, spans
over a WAN with multiple subdomains.
Any information/pointer would be highly appreciated.
Thanks.
Mar 1 '07 #1
2 2415
On Mar 1, 7:28 am, MSWindowsProf
<MSWindowsP...@discussions.microsoft.comwrote:
hi,
We are trying to figure out a way of detecting any incoming http request, to
our ASP.NET 2.0 application, if it is coming from our internal network
(intranet) vs from outside of our network(internet). We can get the client
machine's ip from the http request, but is there any way of validating if the
ip is a intranet ip vs. an internet ip? Our intranet is pretty large, spans
over a WAN with multiple subdomains.
Any information/pointer would be highly appreciated.
Thanks.
The intranet IP number usually starts with 10, or other selected
number.

Mar 1 '07 #2
On 1 Mar., 07:28, MSWindowsProf
<MSWindowsP...@discussions.microsoft.comwrote:
We are trying to figure out a way of detecting any incoming http request, to
our ASP.NET 2.0 application, if it is coming from our internal network
(intranet) vs from outside of our network(internet). We can get the client
machine's ip from the http request, but is there any way of validating if the
ip is a intranet ip vs. an internet ip? Our intranet is pretty large, spans
over a WAN with multiple subdomains.
Any information/pointer would be highly appreciated.
Someone in your organisation should know which IP classes your
networks are using. I would use a list of IP classes and single IP's
(gateways on remote LAN's and the like) and validate against that
list. You could also use write a class to validate if the remote IP is
one that is reserved for LAN use.

Mar 1 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Akhlaq Khan | last post by:
we are developing an intranet application (web based) which needs to detect the logged in user ID of the user hitting the website. the intranet is huge and based on win2k active directory (around...
2
by: Sam Kong | last post by:
Hello! We have a company intranet based on ASP (Win2k, IIS 5.0, SQLServer 7.0). For security purpose, my boss wants to block some employees from logging in to our intranet except for from our...
4
by: Kenneth | last post by:
Hi, I've been written an asp.net Intranet application and since it will run on an intranet it would be good to be able to detect whether the app runs on the same computer that acts as a server...
5
by: royend | last post by:
Is it possible to hide images from the internet, and only have a image available for users that are logged into the intranet? I am hoping to avoid a database-solution as the number of images will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.