How to hide a ajax Request from Web Browser's Console

前端 未结 1 1977
遥遥无期
遥遥无期 2021-01-20 22:06

The Browser\'s web console Network Tab shows all the ajax request with the server response. How Can I prevent ? is it possible to do ?

The reason is because the ajax

相关标签:
1条回答
  • 2021-01-20 22:25

    It's not possible and even if it was, it would be an undesirable "solution" because the data can be seen using other methods.

    The solution is to revise your code to ensure you only send data to the user that they are authorised to see. Don't dump all user data in the AJAX response.

    0 讨论(0)
提交回复
热议问题