Best Practices
This category is dedicated to security best practices when applied to software development.
While we cannot provide a comprehensive list (yet), we are planning to keep expanding it.
Random Number Generation
June 21, 2016 by • “No Bugs” Bunny
Quote:
even if your RNG is statistically perfect, people will still complain🙁
Another Quote:
On modern x86 CPUs, single core can generate 150M+ random bytes/second this way (and this is a Damn Lot).
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingTips and TricksOn.SecurityBest Practices
Read moreTCP and Websockets for Games
May 2, 2016 by • “No Bugs” Bunny
Quote:
TCP is a byte stream, the whole byte stream and nothing but the byte stream
Another Quote:
if all packets reach Client, there isn’t that much difference between TCP and UDP
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork ProgrammingOn.SecurityBest Practices
Read moreUDP for games – security (encryption and DDoS protection)
April 25, 2016 by • “No Bugs” Bunny
Quote:
Yes, you DO need to encrypt your UDP traffic. And no, using UDP is NOT a valid excuse to skip encryption
Another Quote:
Personally, I prefer to think of it as of insurance - when I'm paying my premiums in hope that my money will go to waste.
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingNetwork ProgrammingOn.SecurityBest Practices
Read moreAvoiding ugly afterthoughts. Part b. Coding for Security, Coding for i18n, Testing as a Part of Development
April 4, 2016 by • “No Bugs” Bunny
Quote:
Doing sanitization at IDL level automates quite a bit of tedious-and-error-prone work, which is always a Good Thing™
Another Quote:
Hey, this whole thing can be made MUCH simpler, the only thing we need to acknowledge is that the best identifier for a string is the string itself!
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingDebuggingOn.SecurityBest Practices
Read more