4 ms·
If there is one thing that the whole input sanitation, SQL, PHP and JS saga should have told people loud and clear by now it is that you don't mix your control
by jacquesm 4y ago
If there is one thing that the whole input sanitation, SQL, PHP and JS saga should have told people loud and clear by now it is that you don't mix your control and your payload streams. FTP got this right, most other things did not. Anything that relies on escape sequences will either be buggy, broken or insecure. Or a combination of all of those. In-band signalling was a mistake when the phone network did it, it's still a mistake today.
- unilynx 4y agoIronically FTP is especially buggy (directory listings), broken (hard to traverse NATs) and insecure
- jacquesm 4y agoTrue, but that bit they got right. What is really interesting to me is that all this knowledge is out there now, we don't have to repeat all these past mistakes and yet somehow we do. If other engineering disciplines would work like that (say, civil engineering) you wouldn't be able to travel at all because every bridge or road would be an adventure in novelty tricks that may or may not work.
- quickthrower2 4y agoA better analogy for LLMs is they out a man on the moon but didn’t learn lessons from civil aviation about having enough redundancy to make the chance of loss of life one in a billion.