简体   繁体   中英

Spring RestAPI with API key and Rate limiting

I just want to know certain things on Rest API to secure with api key and rate limiting on the rest api key for each api key.

What is the best solution for setting api key for a rest api and how to limit the access to the rest api for each api keys on a time periodic?.

我建议您检查此项目https://github.com/UsedRarely/spring-rate-limit ,该项目可让您通过java批注对特定服务/控制器启用速率限制。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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