Check this article:
http://www.codeproject.com/aspnet/httpRefererFilter.asp
it will show you more details about what is going on.
"Mike" <(E-Mail Removed)> wrote in message
news:34465F6F-CF34-4F3F-9E26-(E-Mail Removed)...
> Hi.
>
> In VB.NET, is it possible to determine whether an ASP.NET is being
accessed
> internally (within the same domain hosting the application) or externally
> (across the internet)? I've looked at using the
HttpRequest.ServerVariables
> Property, but it doesn't look like it's NameValueCollection contains any
> items which would identify whether or not a program is being accessed
> internally/externally.
>
> Basically I need to apply certain logic when a program is accessed
> internally (within my company) and different logic when a program is
accessed
> externally (across the internet).
>
> Is this possible?
>
> Thanks.