你的位置: 码友网首页 / 资讯源列表 / Implementing and Testing IP SafeLists in ASP.NET Core

关于[Implementing and Testing IP SafeLists in ASP.NET Core]的摘要:

In this article, we will go over some implementation details for allowing a list of IP addresses and CIDR blocks to access our API endpoints. We will create a middleware and an action filter. Each of them can be used in the request pipeline to bounce back requests if the remote IP address is not in the configured network range. We will write integration tests to verify the functionalities of the middleware or the action filter. In the end, I will show you how to use...

原文地址: https://codeburst.io/implementing-and-testing-ip-safelists-in-asp-net-core-dbd9e6f4b696

收录时间: 2021-03-21 浏览量: 1585 分类: ASP.NET Core

| 0 收藏 | 0