I need to ensure that data sent out from a script is as secure as possible. The server-side language is PHP.
Any tips would be greatly appreciated.
UPDATE: What I mean is. I need to ensure the data sent from my server cannot do damage to the other server that is retrieving it. I’m not worried about the security or people seeing the data that’s being sent, just need to make sure it can’t harm the other site.
It is totally safe if everything is properly escaped. If your delivered JSON is valid, there is no security risk (assuming that the other side does not use evil
evalon some of the values).