1

I have a problem with my webpage. If my users use the console they can cheat in my JS game, and then save to the server.

Can I send a redirect to the login page if they try to execute anything from console?

3
  • 1
    Dedicated hackers will still be able to cheat at your game by faking the HTTP request from outside the browser (using curl or whatever other tool). Additionally, while there are some tricks out there that break consoles, they are annoying for users and will not work on every browser or browser version Commented May 22, 2014 at 20:11
  • "The client is in the hands of the enemy" You need to figure out how to detect cheating at the server side. Fundamentally, there's nothing you can do to prevent the client being tampered. Commented May 22, 2014 at 20:27
  • but once ago i tryed that: kspace.in/blog/2013/02/22/… From that website and it works! Why dosen't work now? Commented May 22, 2014 at 20:29

1 Answer 1

2

See this post for more information about the question you're asking - you may be a little off in your understanding of the situation:

How does Facebook disable the browser's integrated Developer Tools?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.