Re: php behind firewall

From: Date: Fri, 04 Aug 2006 16:55:04 +0000
Subject: Re: php behind firewall
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-240130@lists.php.net to get a copy of this message
Jochem Maas wrote:
Andrew Senyshyn wrote:
Hi all, I need to get local user IP, but server with apache and php is in another subnetwork. So from server environment I can get only router's IP. The only solution that I see - is getting with some magic algorithm local IP from brouser and sending it to server. My application is for intranet, so I don't see any reason to make users authorization. Any ideas for this?
you can't always get the real users IP because of proxies, anonimizers, firewalls/gateways [on the user end] (and don't bother using an IP as an absolute indicator when validating a
Wait, are you telling me that I can't auth my customers based on IP alone? Great, now how do I let them view their sensitive data? ;)
session - you can use it as one of a number of metrics - for instance AOL users have their IP addresses changed roughly every 300 milliseconds).
Gawd, AOL causes us so many headaches with that crap. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com

« previous php.general (#240130) next »