Hello everybody.
I have a question about how to protect my PHP-script from all
unauthorized access. I have a PHP-script on my web server and this
PHP-script should only be accessible from _one_ IP-address.
Right now I am using "$_SERVER['REMOTE_ADDR']" to check if the person
that wishes to access my PHP-script is authorized or not but I believe
that this is quite easily circumvented…
Are there other ways to prevent anyone from accessing my PHP-script
(except the from the one IP-address that is authorized)?? Is there
maybe a way to do this with a firewall? I am using Linux on the server
by the way.
Kindly
Gabriel