note 44337 deleted from function.getenv by vincent

From: Date: Wed, 21 Jul 2004 14:44:06 +0000
Subject: note 44337 deleted from function.getenv by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-73808@lists.php.net to get a copy of this message
Note Submitter: pov at club dash internet dot fr ---- The previous code isn't bullet proof at all, if I know there are some private parts, what forbids me to add a X_FORWARDED_FOR with a local address even though I'm not on the LAN, or even worse, the field could be present for anyone using a proxy and using a LAN even if it's not the trusted one, for exemple if the user at the other end is behind a NATed router. Be very cautious because is way too easy to be fooled with such a method

« previous php.notes (#73808) next »