On Fri, May 11, 2007 9:59 pm, [EMAIL PROTECTED] wrote:
> 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.

Unless the user "View Source" and read your AJAX code...

This is not going to stop any serious attempt, but as one more
defense-in-depth mechanism, it wouldn't hurt.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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

Reply via email to