News for hackers. Stuff that matters.
Re:The OWASP Top 10 is killing me by jlesk on Saturday October 28, 2017 @04:46PM (#15576705)
This is why I introduced LockStrings as a key feature of THT (a language that compiles to PHP). It takes the opposite approach to Perl's taint mode. You mark string literals as safe -- everything else is untrusted.

Functions that do risky things (Database, System calls, etc.) only accept LockStrings and are responsible for escaping, so all you have to do is provide the placeholders.

https://tht.help/tutorials/language-tour#lock-strings

There are no comments on this comment yet.