RE: [PHP] Re: Is this unsecure?

From: Date: Tue, 05 Sep 2006 10:06:51 +0000
Subject: RE: [PHP] Re: Is this unsecure?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-241369@lists.php.net to get a copy of this message
[snip] This seems the easiest for me: - Determine IP address of Server A. - At Server B: <?php if ($_SERVER['REMOTE_ADDR'] != SERVER_A_IP) { die('Get lost, will you.'); } .... rest of code ... How's that? You could, of course, still add the md5 check, which sounds pretty good. HTH Ivo [/snip] Then some one with an account on that server can also do the same thing :) A combination is probably the best...

« previous php.general (#241369) next »