I thought that was the first rule of rendering web content? Or was it protocol parsers?
I remember, it was first rule of video game character creation screens:
Submitted 1 year ago by tteok@lemmy.world to programmer_humor@programming.dev
I thought that was the first rule of rendering web content? Or was it protocol parsers?
I remember, it was first rule of video game character creation screens:
Second rule of SQL: Never trust user input. Third rule of SQL: Never trust user input.
Honestly, this is a good rule for programming in general. With user input, make sure it’s in its own area where it can’t interact with anything else and make sure to read and process in such a way that it can’t fuck with the operation of the program.
Ahh yes, the little Bobby tables rule
I also satanise every input I can, as an extra level of security.
What’s even the worst that could happen? ’ OR 1=1 –
All your base are drop to us!
z3n0x@feddit.de 1 year ago
Image
IlllIIIlllIlllI@exploding-heads.com 1 year ago
Sometimes you know before opening the comments what the top one will be