WCF REST 服务拒绝服务防御
我已经创建了一个 WCF REST 搜索服务,现在想知道如何实施拒绝服务防御来限制请求数量。
I have created a WCF REST Search Service, and now want to know how to implement Denial of Service Defence to limit the number of request.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设您的 REST API 可通过 Internet 公开访问,您应该像防御 DOS 一样实施保护措施针对网站的攻击。鉴于您的 RESTful 服务(很可能)是使用 HTTP/HTTPS 作为底层应用程序传输来实现的,因此该方法实际上不会有太大差异。
Assuming your REST API is publicly reachable over the Internet, you should implement your safeguards the same way you would defend against a DOS attack against a web site. There's really not going to be much difference in the approach, given that your RESTful service is (very likely) implemented using HTTP/HTTPS as the underlying application transport.