How can I protect my online game from cheaters?

I just wrote one of my first web applications (Linux, Apache, MySQL, Django) and would like to publish it publicly. This is a web task disguised as a game; I intend to ultimately put it on Amazon Mechanical Turk and give small bonuses to people who achieve certain results.

Despite the fact that this application does not have an extremely high security risk, I need to protect it from manipulation and reverse engineering. However, I have little formal testing / security training. Given that there are real winnings, I know that people will have an incentive to cheat, whether changing the POST data, pressing the back button and resending the data until it won, etc. So far I have dealt with these issues on an ad hoc basis, through security testing, as I am thinking about possible exploits. However, I understand that there are probably many forms of manipulation that I have not thought of yet.

Can someone recommend some reading materials from which I can learn how to protect my site from manipulation and reverse design?

+3
source share
4 answers

A very good place to read is OWASP; see http://www.owasp.org/index.php/Main_Page . They have extensive documentation regarding website security.

Edit: For a quick overview, check Ten.

+2
source

SQL injection

Prevent malicious users from modifying SQL queries through URL query strings.

DoS Attacks

Prevent users from accessing the same IP address from your site too many times over a short period of time.

Password strength

, , .

Captcha

, . , , .

+2

Google -, , - ( , SQL- ..). , , , , cookie, , MIME ..

+2

Source: https://habr.com/ru/post/1705523/


All Articles