此外,如果您可以在客户端处理该问题,并向用户提供即时反馈,那么就不需要这样做了。
Plus, if you can take care of this problem on the client, and offer instantaneous feedback to the user, why wouldn't you do that?
作者也考虑到服务器的反馈,由此检测到一个恶意客户端的服务器可以发送给客户端任意种类的响应信息,包括恶意的内容。
The authors also consider server retaliation, whereby a server that detects a malicious client could send the client any sort of response, including malicious content.
服务端代码:用于反馈客户端所需数据的后台逻辑。
Server-side code: backend logic that generates data requested by the client.
应用推荐