|
|
|
|
|
by eropple
2929 days ago
|
|
Or we could...not...evaluate random code potentially coming from hostile environments. That would also be cool and good. And, yes, it's possible to have vulnerabilities in a JSON parser--but it is orders of magnitude easier to have them in an arbitrary language parser. |
|
Validating a document is a complex, domain-dependant problem. It is far easier to create a secure Domain-Specific Language to handle this than to end up with an accidentally Turing complete abomination like XSLT: http://www.unidex.com/turing/utm.htm