I've been reading online about security methods for RPC in PHP - I happen to be using JSON encoded strings. Most of the discussions people are talking about having the security check performed in...