duandongjin5647 2013-04-26 20:36 采纳率: 0%
浏览 68
已采纳

在JS中重新定义执行AJAX的SetInterval会不会对服务器发送垃圾邮件? [重复]

This question already has an answer here:

I was just thinking .... if i have a ajax call, which calls a php file that gets some info from MySQL, wouldnt it be possible to edit the timeInterval with firebug or other editors, and make it spam the server with the call?

isnt that a security risk/flaw?

</div>
  • 写回答

1条回答 默认 最新

  • douqiao5552 2013-04-26 20:42
    关注

    Even if it weren't possible (it is) there's nothing to stop someone from making frequent requests on their own rather than using your own script. You have to throttle service of the requests on the server side.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?