How can I prevent developer console usage? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How can I prevent developer console usage?

Developer console is a big problem because you can make same ajax requests that my source code does. You're not allowed to connect to socket server before you are logged in but with developer console you can go do what ever you want.

13th Nov 2018, 3:02 PM
Toni Isotalo
Toni Isotalo - avatar
3 Answers
+ 8
Can't do anything related to this on client side. Care has to be taken on the server side to resolve this. Maybe make sure the each user has some server side stored credentials to validate those AJAX requests. But this is awesome, thx for this info I need to try this myself.
6th Jan 2019, 2:36 PM
Morpheus
Morpheus - avatar
+ 3
To my knowledge the developer tools are on the client side of things and there isn't a way to disable them.
13th Nov 2018, 4:27 PM
Mike
+ 2
I agree with Morpheus You also need DDOS attack protector..
6th Jan 2019, 2:46 PM
Ahlin Chan
Ahlin Chan - avatar