News for hackers. Stuff that matters.
Re:Compile Time Prevention of SQL-Injections in Rust by kazinator on Tuesday May 22, 2018 @09:05AM (#17125584)
The idea seems to be that if a variable has a certain kind of Rust lifetime, then it contains only trusted data associated with the program itself, rather than some untrusted input.

Problem is, that is too limiting to satisfy the functional use cases in a lot of code that constructs SQL queries by substituting values into templates, where some of the pieces are necessarily dependent on inputs from logged-in users and such.

There are no comments on this comment yet.