2 ms·
perl and ruby have "taint" which is similar to what you describe. And yes, this can be encoded in the type system and you can also make it so the sanitization
by riffraff 13y ago
perl and ruby have "taint" which is similar to what you describe.
And yes, this can be encoded in the type system and you can also make it so the sanitization is context dependent, i.e. http://www.comp.nus.edu.sg/~prateeks/papers/csas-ccs11.pdf http://www.comp.nus.edu.sg/~prateeks/papers/csas-ccs11.pdf
- jonnyscholes 13y agoPHP does to http://pecl.php.net/package/taint http://pecl.php.net/package/taint but I haven’t used it or the perl/ruby ones so I'm not actually sure how similar they are...
- hellerbarde 13y agoHow ironic.