Accelerated Security Course - Episode 1: Never Trust Foreign Data

This article was written by Damien Metzger, and first published on the PrestaShop blog, on June 22th, 2011.

If there’s only one rule regarding security that a developer must adhere to, it’s this: Never Trust Foreign Data. Together, we’ll take a look at what this modern saying signifies:

We must therefore remember that not everything we use is reliable. The advantage of constantly keeping this idea mind is that it quickly becomes natural. It becomes unthinkable not to operate this way.

What, then, is the solution? What should we do with our data, if you can not use it however you want?