Re: Request.UserHostAddress
From: WJ (JohnWebbs_at_HotMail.Com)
Date: 11/17/04
- Next message: WJ: "Re: Convert ASP.Net to VB.Net"
- Previous message: Patrick.O.Ige: "Re: Compile Problem: BC31011- Access is denied"
- In reply to: tma: "Re: Request.UserHostAddress"
- Next in thread: tma: "Re: Request.UserHostAddress"
- Reply: tma: "Re: Request.UserHostAddress"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Nov 2004 22:38:05 -0500
Impossible mission! How can you tell if it is fake IP or Ip generated by
dhcp ? It makes sense for intranet but not internet.
John
"tma" <tma@allisconfusing.net> wrote in message
news:%236fl04EzEHA.4028@TK2MSFTNGP15.phx.gbl...
> Actually, the IP addresses are from "people" who hit my website. Spiders
> for
> example. So while the address space is fairly constant, it still needs to
> be
> a range of addresses to test for.
>
> Any thoughts?
>
>
> "John Saunders" <johnwsaundersiii@hotmail.com> wrote in message
> news:uSGDgcDzEHA.344@TK2MSFTNGP10.phx.gbl...
>> "tma" <tma@allisconfusing.net> wrote in message
>> news:edOECXDzEHA.1652@TK2MSFTNGP11.phx.gbl...
>> >I am creating code that makes decisions based on the result of the
>> > Request.UserHostAddress. Is there a way I can search on /CIDR or range
> of
>> > IP
>> > addresses without specifying an exact search string, i.e. one string
>> > for
>> > each IP address? You can imagine why I don't want to have to create a
>> > CASE/ELSE for this scenario...
>> >
>> > I'm open to any suggestions.
>>
>> I presume you're guaranteed what the IP addresses are, and that they
>> won't
>> ever change or be placed behind a NAT box or something that will change
> the
>> IP addresses? Or that the subnet setup won't change?
>>
>> Why not identify machines with something like an X.509 certificate, which
> is
>> _meant_ to be identifying? IP addresses aren't actually meant for that
>> purpose.
>>
>> John Saunders
>>
>>
>
>
- Next message: WJ: "Re: Convert ASP.Net to VB.Net"
- Previous message: Patrick.O.Ige: "Re: Compile Problem: BC31011- Access is denied"
- In reply to: tma: "Re: Request.UserHostAddress"
- Next in thread: tma: "Re: Request.UserHostAddress"
- Reply: tma: "Re: Request.UserHostAddress"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|