简体   繁体   English

如何限制每个用户/ip/mac/etc 的 Azure 函数调用?

[英]How to limit Azure Functions Calls per user/ip/mac/etc?

I'm using azure functions which work great for me.我正在使用 azure 功能对我来说非常有用。 But my concern is: How can I avoid hackers from doing "mass api calls" in order to hack me or to raise my billing for example?但我担心的是:我怎样才能避免黑客进行“大规模 api 呼叫”以入侵我或提高我的账单?

Just use API Management in front of your Azure Functions and their rate limit / throttling policies:只需在您的 Azure 函数及其速率限制/节流策略前使用 API 管理:

https://docs.microsoft.com/en-us/azure/api-management/api-management-sample-flexible-throttling https://docs.microsoft.com/en-us/azure/api-management/api-management-sample-flexible-throttling

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM