Re: What is the best way to protect the PHP page that returns the AJAX data? [solved]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Set ajaxObject.setRequestHeader("User-Agent","SecretName"); in
Javascript and check for it in PHP. Not fool-proof, but the average
person wouldn't be able to get in.

On 5/11/07, clive <clive@xxxxxxxxxx> wrote:
Robert Cummings wrote:
> A Guru would have spent 60 seconds testing to see if the session_start()
> scenario worked BEFORE posting to the list :B

/me was thinking the same

--
Regards,

Clive.

Real Time Travel Connections


{No electrons were harmed in the creation, transmission or reading of
this email. However, many were excited and some may well have enjoyed
the experience.}

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux