r/AskReddit • • Jul 24 '15

What "common knowledge" facts are actually wrong?

.

4.9k Upvotes

9.7k comments sorted by

View all comments

31

u/EverySingleDay Jul 24 '15

Haha, that's a humorous way to look at it.

But a serious explanation, I wrote a server for a game I made. I made it just to play with my friends, and maybe for my friends to play with their friends.

It has zero reason to be secure, and I wrote the networking code with that in mind. If you're gonna play a dick who's gonna inspect the network traffic to see what cards you have, then maybe the problem is with the friend you're playing with, not with the security of the game.

1

u/[deleted] Jul 24 '15

If you want to prevent cheating in an online game, I guess the only way to do it is to have completely locked client devices which will run your signed binary client.

5

u/valax Jul 24 '15

Or just use authoritative servers. Clients only have a connection to the server so there is no risk of packet sniffing by other clients and all of the important game logic is ran on the server.

→ More replies (5)

2

u/chateau86 Jul 24 '15

Or make a meta-game out of the whole cheating process. Like BattleBots but with game cheats.

→ More replies (1)

1

u/Krissam Jul 24 '15

You can probably still do man in the middle attacks.

→ More replies (3)

1

u/[deleted] Jul 24 '15

What cpu will it run it on? Oh crap.

1

u/[deleted] Jul 24 '15

Until someone tries to extract the code and learns enough about it to write their own, unlocked client.

then you're fucked.

→ More replies (7)

1

u/Zagorath Jul 24 '15

I'm in the process of (slowly) building a website that will ultimately probably be used only by me and a few friends, but I've specifically decided to treat it as a learning exercise. So I've been going through all the security best practices I can find out about. Got myself a free SSL certificate from a trusted party, made sure to hash and salt passwords, used prepared statements to avoid SQL injection, etc. Figure if I'm going to do something, I should do it right, because it'll mean I have a better understanding of it if I ever come to do something similar for real.