note 88278 deleted from session.security by salathe
| From: | salathe@php.net | Date: | Mon, 21 Sep 2020 14:46:27 +0000 |
| Subject: | note 88278 deleted from session.security by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215300@lists.php.net to get a copy of this message | ||
Note Submitter: justin at fatbird dot ca
----
IP checking is a sometimes useful feature with two limitations that are important to be aware of:
1. Anyone surfing behind a proxy (e.g., someone at work) will provide the proxy's IP, not his
own. Session ID replay attacks will not be prevented by IP checking for an attacker on the
user's side of the proxy.
2. If the PHP application is behind a reverse proxy, the reverse proxy's IP address will be the
only request IP seen by PHP, so IP checking is useless.